Skip to content

Commit

Permalink
deploy: 5c2101d
Browse files Browse the repository at this point in the history
  • Loading branch information
perazz committed Jan 31, 2025
1 parent b0474fc commit 1f004f2
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 225 deletions.
167 changes: 0 additions & 167 deletions _formulas.log

This file was deleted.

50 changes: 0 additions & 50 deletions _formulas.tex

This file was deleted.

2 changes: 1 addition & 1 deletion annotated.html
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@
<tr id="row_7_10_" class="even" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="interfacela__lapack__aux_1_1la__select__w.html" target="_self">la_select_w</a></td><td class="desc"></td></tr>
<tr id="row_7_11_" class="even" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="interfacela__lapack__aux_1_1la__select__z.html" target="_self">la_select_z</a></td><td class="desc"></td></tr>
<tr id="row_8_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_8_" class="arrow" onclick="dynsection.toggleFolder('8_')">&#9658;</span><span class="icona"><span class="icon">M</span></span><a class="el" href="namespacela__least__squares.html" target="_self">la_least_squares</a></td><td class="desc">Least squares solution interface </td></tr>
<tr id="row_8_0_" class="odd" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="interfacela__least__squares_1_1lstsq.html" target="_self">lstsq</a></td><td class="desc">Compute a least squares solution to system <img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png"/>, i.e. such that the 2-norm <img class="formulaInl" alt="$ \|b - A \cdot x\| $" src="form_1.png"/> is minimized </td></tr>
<tr id="row_8_0_" class="odd" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="interfacela__least__squares_1_1lstsq.html" target="_self">lstsq</a></td><td class="desc">Compute a least squares solution to system <img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png" width="49" height="10"/>, i.e. such that the 2-norm <img class="formulaInl" alt="$ \|b - A \cdot x\| $" src="form_1.png" width="58" height="14"/> is minimized </td></tr>
<tr id="row_9_" class="odd"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_9_" class="arrow" onclick="dynsection.toggleFolder('9_')">&#9658;</span><span class="icona"><span class="icon">M</span></span><a class="el" href="namespacela__norms.html" target="_self">la_norms</a></td><td class="desc"></td></tr>
<tr id="row_9_0_" class="even" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="interfacela__norms_1_1get__norm.html" target="_self">get_norm</a></td><td class="desc">Vector norm: subroutine interface </td></tr>
<tr id="row_9_1_" class="even" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="interfacela__norms_1_1mnorm.html" target="_self">mnorm</a></td><td class="desc">Matrix norm: function interface </td></tr>
Expand Down
Binary file added form_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added form_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added form_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added form_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added form_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions formula.repository
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
\_form#0=49x10:$ A \cdot x = b $
\_form#1=58x14:$ \|b - A \cdot x\| $
\_form#2=19x14:$ s(i) $
\_form#3=109x14:$ s(i) \leq \text{cond} \cdot \max(s) $
\_form#4=58x10:$ A \cdot X = B $
8 changes: 4 additions & 4 deletions interfacela__least__squares_1_1lstsq.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
</div><!--header-->
<div class="contents">

<p>Compute a least squares solution to system <img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png"/>, i.e. such that the 2-norm <img class="formulaInl" alt="$ \|b - A \cdot x\| $" src="form_1.png"/> is minimized.
<p>Compute a least squares solution to system <img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png" width="49" height="10"/>, i.e. such that the 2-norm <img class="formulaInl" alt="$ \|b - A \cdot x\| $" src="form_1.png" width="58" height="14"/> is minimized.
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Expand Down Expand Up @@ -147,15 +147,15 @@
<tr class="separator:ac21f5d10ba3c7546239bdcfb7d1bc570"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Compute a least squares solution to system <img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png"/>, i.e. such that the 2-norm <img class="formulaInl" alt="$ \|b - A \cdot x\| $" src="form_1.png"/> is minimized. </p>
<div class="textblock"><p>Compute a least squares solution to system <img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png" width="49" height="10"/>, i.e. such that the 2-norm <img class="formulaInl" alt="$ \|b - A \cdot x\| $" src="form_1.png" width="58" height="14"/> is minimized. </p>
<p>This function computes the least-squares solution to a real system of linear equations:</p>
<p><img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png"/></p>
<p><img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png" width="49" height="10"/></p>
<p>where A is an <code>n x n</code> matrix and b is either a vector (<code>n</code>) or a matrix (<code>n x nrhs</code>). The solution <code>x</code> is returned as an allocatable array.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in,out]</td><td class="paramname">a</td><td>The input matrix of size <code>n x n</code>. If <code>overwrite_a</code> is true, the contents of A may be modified during computation. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>The right-hand side vector (<code>n</code>) or matrix (<code>n x nrhs</code>). </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>(Optional) A cutoff for rank evaluation: singular values <img class="formulaInl" alt="$ s(i) $" src="form_2.png"/> such that <img class="formulaInl" alt="$ s(i) \leq \text{cond} \cdot \max(s) $" src="form_3.png"/> are considered zero. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>(Optional) A cutoff for rank evaluation: singular values <img class="formulaInl" alt="$ s(i) $" src="form_2.png" width="19" height="14"/> such that <img class="formulaInl" alt="$ s(i) \leq \text{cond} \cdot \max(s) $" src="form_3.png" width="109" height="14"/> are considered zero. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">overwrite_a</td><td>(Optional) If true, A and B may be overwritten and destroyed. Default is false. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">rank</td><td>(Optional) The rank of the matrix A. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">err</td><td>(Optional) A state return flag. If an error occurs and <code>err</code> is not provided, the function will stop execution.</td></tr>
Expand Down
2 changes: 1 addition & 1 deletion interfacela__solve_1_1solve.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Solve a system of linear equations A * X = B. </p>
<p>This function computes the solution to a real system of linear equations:</p>
<p><img class="formulaInl" alt="$ A \cdot X = B $" src="form_4.png"/></p>
<p><img class="formulaInl" alt="$ A \cdot X = B $" src="form_4.png" width="58" height="10"/></p>
<p>where A is an <code>n x n</code> square matrix, and B is either a vector (<code>n</code>) or a matrix (<code>n x nrhs</code>). The solution X is returned as an allocatable array.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
Expand Down
2 changes: 1 addition & 1 deletion la__least__squares_8f90.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Types</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">interface &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacela__least__squares_1_1lstsq.html">la_least_squares::lstsq</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute a least squares solution to system <img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png"/>, i.e. such that the 2-norm <img class="formulaInl" alt="$ \|b - A \cdot x\| $" src="form_1.png"/> is minimized. <a href="interfacela__least__squares_1_1lstsq.html#details">More...</a><br /></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute a least squares solution to system <img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png" width="49" height="10"/>, i.e. such that the 2-norm <img class="formulaInl" alt="$ \|b - A \cdot x\| $" src="form_1.png" width="58" height="14"/> is minimized. <a href="interfacela__least__squares_1_1lstsq.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Expand Down
2 changes: 1 addition & 1 deletion namespacela__least__squares.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Types</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">interface &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacela__least__squares_1_1lstsq.html">lstsq</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute a least squares solution to system <img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png"/>, i.e. such that the 2-norm <img class="formulaInl" alt="$ \|b - A \cdot x\| $" src="form_1.png"/> is minimized. <a href="interfacela__least__squares_1_1lstsq.html#details">More...</a><br /></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute a least squares solution to system <img class="formulaInl" alt="$ A \cdot x = b $" src="form_0.png" width="49" height="10"/>, i.e. such that the 2-norm <img class="formulaInl" alt="$ \|b - A \cdot x\| $" src="form_1.png" width="58" height="14"/> is minimized. <a href="interfacela__least__squares_1_1lstsq.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
Expand Down

0 comments on commit 1f004f2

Please sign in to comment.