You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<aclass="reference internal" href="cla_utils.html#cla_utils.exercises3.householder" title="cla_utils.exercises3.householder"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">cla_utils.exercises3.householder()</span></code></a> to use the <codeclass="docutils literal notranslate"><spanclass="pre">kmax</span></code>
689
689
argument. You may make use of the built-in triangular solve
triangular matrix algorithms briefly later). The test script
692
692
<codeclass="docutils literal notranslate"><spanclass="pre">test_exercises3.py</span></code> in the <codeclass="docutils literal notranslate"><spanclass="pre">test</span></code> directory will also test this
693
693
function.</p>
@@ -799,7 +799,7 @@ <h2><span class="section-number">2.7. </span>Application: Least squares problems
<aclass="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)"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">scipy.linalg.solve_triangular()</span></code></a> to solve the resulting upper triangular
802
+
<aclass="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)"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">scipy.linalg.solve_triangular()</span></code></a> to solve the resulting upper triangular
803
803
system, before returning the solution <spanclass="math notranslate nohighlight">\(x\)</span>. The test script
804
804
<codeclass="docutils literal notranslate"><spanclass="pre">test_exercises3.py</span></code> in the <codeclass="docutils literal notranslate"><spanclass="pre">test</span></code> directory will also test this
<p>The function <aclass="reference internal" href="cla_utils.html#cla_utils.exercises7.perm" title="cla_utils.exercises7.perm"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">cla_utils.exercises7.perm()</span></code></a> has been left
521
521
unimplemented. It should take an <spanclass="math notranslate nohighlight">\(m\times m\)</span> permutation matrix
522
-
<spanclass="math notranslate nohighlight">\(P\)</span>, stored as a vector of indices <spanclass="math notranslate nohighlight">\(p\in\mathbb{N}^m\)</span> so that
523
-
<spanclass="math notranslate nohighlight">\((Px)_i = x_{p_i}\)</span>, <spanclass="math notranslate nohighlight">\(i=1,2,\ldots, m\)</span>, and replace it with the
524
-
matrix <spanclass="math notranslate nohighlight">\(P_{i,j}P\)</span> (also stored as a vector of indices) where
525
-
<spanclass="math notranslate nohighlight">\(P_{i,j}\)</span> is the permutation matrix that exchanges the entries <spanclass="math notranslate nohighlight">\(i\)</span>
526
-
and <spanclass="math notranslate nohighlight">\(j\)</span>. The test script <codeclass="docutils literal notranslate"><spanclass="pre">test_exercises7.py</span></code> in the <codeclass="docutils literal notranslate"><spanclass="pre">test</span></code>
527
-
directory will test this function.</p>
522
+
<spanclass="math notranslate nohighlight">\(P\)</span>, stored as an (integer-valued) array of indices
523
+
<spanclass="math notranslate nohighlight">\(p\in\mathbb{N}^m\)</span> so that <spanclass="math notranslate nohighlight">\((Px)_i = x_{p_i}\)</span>, <spanclass="math notranslate nohighlight">\(i=1,2,\ldots, m\)</span>,
524
+
and replace it with the matrix <spanclass="math notranslate nohighlight">\(P_{i,j}P\)</span> (also stored as a array
525
+
of indices) where <spanclass="math notranslate nohighlight">\(P_{i,j}\)</span> is the permutation matrix that
526
+
exchanges the entries <spanclass="math notranslate nohighlight">\(i\)</span> and <spanclass="math notranslate nohighlight">\(j\)</span>. The test script
527
+
<codeclass="docutils literal notranslate"><spanclass="pre">test_exercises7.py</span></code> in the <codeclass="docutils literal notranslate"><spanclass="pre">test</span></code> directory will test this
Copy file name to clipboardExpand all lines: errata.html
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,9 @@ <h1>Errata for 2021/22<a class="headerlink" href="#errata-for-2021-22" title="Pe
67
67
test so that <spanclass="math notranslate nohighlight">\(k\)</span> corresponds to the column being operated on.</p></li>
68
68
<li><p>Corrected the upper limit of the sum in the algorithm for forward
69
69
substitution.</p></li>
70
-
<li><p>Corrected the sign of inequalities in <codeclass="code docutils literal notranslate"><spanclass="pre">test_solve_U</span></code> and <codeclass="code docutils literal notranslate"><spanclass="pre">test_solve_L</span></code>.</p></li>
70
+
<li><p>Corrected the sign of inequalities in <codeclass="code docutils literal notranslate"><spanclass="pre">test_solve_U</span></code> and
71
+
<codeclass="code docutils literal notranslate"><spanclass="pre">test_solve_L</span></code>. And then uncorrected them again, they were right
0 commit comments