Skip to content

Commit 910a416

Browse files
committed
Website build
1 parent 3b14f0c commit 910a416

7 files changed

Lines changed: 23 additions & 17 deletions
91 Bytes
Binary file not shown.

L2_QR_factorisation.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ <h2><span class="section-number">2.6. </span>Householder triangulation<a class="
687687
done so, you will need to modified
688688
<a class="reference internal" href="cla_utils.html#cla_utils.exercises3.householder" title="cla_utils.exercises3.householder"><code class="xref py py-func docutils literal notranslate"><span class="pre">cla_utils.exercises3.householder()</span></code></a> to use the <code class="docutils literal notranslate"><span class="pre">kmax</span></code>
689689
argument. You may make use of the built-in triangular solve
690-
algorithm <a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.linalg.solve_triangular.html#scipy.linalg.solve_triangular" title="(in SciPy v1.8.0.dev0+2083.8dd161d)"><code class="xref py py-func docutils literal notranslate"><span class="pre">scipy.linalg.solve_triangular()</span></code></a> (we shall consider
690+
algorithm <a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.linalg.solve_triangular.html#scipy.linalg.solve_triangular" title="(in SciPy v1.8.0.dev0+2084.abafdff)"><code class="xref py py-func docutils literal notranslate"><span class="pre">scipy.linalg.solve_triangular()</span></code></a> (we shall consider
691691
triangular matrix algorithms briefly later). The test script
692692
<code class="docutils literal notranslate"><span class="pre">test_exercises3.py</span></code> in the <code class="docutils literal notranslate"><span class="pre">test</span></code> directory will also test this
693693
function.</p>
@@ -799,7 +799,7 @@ <h2><span class="section-number">2.7. </span>Application: Least squares problems
799799
appropriate augmented matrix <span class="math notranslate nohighlight">\(\hat{A}\)</span>, calling
800800
<a class="reference internal" href="cla_utils.html#cla_utils.exercises3.householder" title="cla_utils.exercises3.householder"><code class="xref py py-func docutils literal notranslate"><span class="pre">cla_utils.exercises3.householder()</span></code></a> and extracting appropriate
801801
subarrays using slice notation, before using
802-
<a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.linalg.solve_triangular.html#scipy.linalg.solve_triangular" title="(in SciPy v1.8.0.dev0+2083.8dd161d)"><code class="xref py py-func docutils literal notranslate"><span class="pre">scipy.linalg.solve_triangular()</span></code></a> to solve the resulting upper triangular
802+
<a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.linalg.solve_triangular.html#scipy.linalg.solve_triangular" title="(in SciPy v1.8.0.dev0+2084.abafdff)"><code class="xref py py-func docutils literal notranslate"><span class="pre">scipy.linalg.solve_triangular()</span></code></a> to solve the resulting upper triangular
803803
system, before returning the solution <span class="math notranslate nohighlight">\(x\)</span>. The test script
804804
<code class="docutils literal notranslate"><span class="pre">test_exercises3.py</span></code> in the <code class="docutils literal notranslate"><span class="pre">test</span></code> directory will also test this
805805
function.</p>

L4_LU_decomposition.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -519,12 +519,13 @@ <h2><span class="section-number">4.2. </span>Pivoting<a class="headerlink" href=
519519
</div><div class="proof-content">
520520
<p>The function <a class="reference internal" href="cla_utils.html#cla_utils.exercises7.perm" title="cla_utils.exercises7.perm"><code class="xref py py-func docutils literal notranslate"><span class="pre">cla_utils.exercises7.perm()</span></code></a> has been left
521521
unimplemented. It should take an <span class="math notranslate nohighlight">\(m\times m\)</span> permutation matrix
522-
<span class="math notranslate nohighlight">\(P\)</span>, stored as a vector of indices <span class="math notranslate nohighlight">\(p\in\mathbb{N}^m\)</span> so that
523-
<span class="math notranslate nohighlight">\((Px)_i = x_{p_i}\)</span>, <span class="math notranslate nohighlight">\(i=1,2,\ldots, m\)</span>, and replace it with the
524-
matrix <span class="math notranslate nohighlight">\(P_{i,j}P\)</span> (also stored as a vector of indices) where
525-
<span class="math notranslate nohighlight">\(P_{i,j}\)</span> is the permutation matrix that exchanges the entries <span class="math notranslate nohighlight">\(i\)</span>
526-
and <span class="math notranslate nohighlight">\(j\)</span>. The test script <code class="docutils literal notranslate"><span class="pre">test_exercises7.py</span></code> in the <code class="docutils literal notranslate"><span class="pre">test</span></code>
527-
directory will test this function.</p>
522+
<span class="math notranslate nohighlight">\(P\)</span>, stored as an (integer-valued) array of indices
523+
<span class="math notranslate nohighlight">\(p\in\mathbb{N}^m\)</span> so that <span class="math notranslate nohighlight">\((Px)_i = x_{p_i}\)</span>, <span class="math notranslate nohighlight">\(i=1,2,\ldots, m\)</span>,
524+
and replace it with the matrix <span class="math notranslate nohighlight">\(P_{i,j}P\)</span> (also stored as a array
525+
of indices) where <span class="math notranslate nohighlight">\(P_{i,j}\)</span> is the permutation matrix that
526+
exchanges the entries <span class="math notranslate nohighlight">\(i\)</span> and <span class="math notranslate nohighlight">\(j\)</span>. The test script
527+
<code class="docutils literal notranslate"><span class="pre">test_exercises7.py</span></code> in the <code class="docutils literal notranslate"><span class="pre">test</span></code> directory will test this
528+
function.</p>
528529
</div></div><div class="proof proof-type-exercise" id="id8">
529530

530531
<div class="proof-title">

_sources/L4_LU_decomposition.rst.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -498,12 +498,13 @@ complete pivoting, `PAQ=LU`.
498498
499499
The function :func:`cla_utils.exercises7.perm` has been left
500500
unimplemented. It should take an `m\times m` permutation matrix
501-
`P`, stored as a vector of indices `p\in\mathbb{N}^m` so that
502-
`(Px)_i = x_{p_i}`, `i=1,2,\ldots, m`, and replace it with the
503-
matrix `P_{i,j}P` (also stored as a vector of indices) where
504-
`P_{i,j}` is the permutation matrix that exchanges the entries `i`
505-
and `j`. The test script ``test_exercises7.py`` in the ``test``
506-
directory will test this function.
501+
`P`, stored as an (integer-valued) array of indices
502+
`p\in\mathbb{N}^m` so that `(Px)_i = x_{p_i}`, `i=1,2,\ldots, m`,
503+
and replace it with the matrix `P_{i,j}P` (also stored as a array
504+
of indices) where `P_{i,j}` is the permutation matrix that
505+
exchanges the entries `i` and `j`. The test script
506+
``test_exercises7.py`` in the ``test`` directory will test this
507+
function.
507508

508509

509510
.. proof:exercise::

_sources/errata.rst.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ repositories for Autumn 2021. An up to date version is in the
2727
6. Corrected the upper limit of the sum in the algorithm for forward
2828
substitution.
2929

30-
7. Corrected the sign of inequalities in :code:`test_solve_U` and :code:`test_solve_L`.
30+
7. Corrected the sign of inequalities in :code:`test_solve_U` and
31+
:code:`test_solve_L`. And then uncorrected them again, they were right
32+
in the first place.

errata.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ <h1>Errata for 2021/22<a class="headerlink" href="#errata-for-2021-22" title="Pe
6767
test so that <span class="math notranslate nohighlight">\(k\)</span> corresponds to the column being operated on.</p></li>
6868
<li><p>Corrected the upper limit of the sum in the algorithm for forward
6969
substitution.</p></li>
70-
<li><p>Corrected the sign of inequalities in <code class="code docutils literal notranslate"><span class="pre">test_solve_U</span></code> and <code class="code docutils literal notranslate"><span class="pre">test_solve_L</span></code>.</p></li>
70+
<li><p>Corrected the sign of inequalities in <code class="code docutils literal notranslate"><span class="pre">test_solve_U</span></code> and
71+
<code class="code docutils literal notranslate"><span class="pre">test_solve_L</span></code>. And then uncorrected them again, they were right
72+
in the first place.</p></li>
7173
</ol>
7274
</section>
7375

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)