| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
| <title>SuperLU: SRC/clangs.c File Reference</title> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"> |
| <link href="tabs.css" rel="stylesheet" type="text/css"> |
| </head><body> |
| |
| <div class="navigation" id="top"> |
| <div class="tabs"> |
| <ul> |
| <li><a href="index.html"><span>Main Page</span></a></li> |
| <li><a href="annotated.html"><span>Data Structures</span></a></li> |
| <li class="current"><a href="files.html"><span>Files</span></a></li> |
| </ul> |
| </div> |
| </div> |
| <div class="contents"> |
| <h1>SRC/clangs.c File Reference</h1>Returns the value of the one norm. <a href="#_details">More...</a> |
| <p> |
| <code>#include <math.h></code><br> |
| <code>#include "<a class="el" href="slu__cdefs_8h-source.html">slu_cdefs.h</a>"</code><br> |
| <table border="0" cellpadding="0" cellspacing="0"> |
| <tr><td></td></tr> |
| <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
| <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="clangs_8c.html#3e9baabe44cf6d5779cae55b80bc5763">clangs</a> (char *norm, <a class="el" href="structSuperMatrix.html">SuperMatrix</a> *<a class="el" href="ilu__zdrop__row_8c.html#c900805a486cbb8489e3c176ed6e0d8e">A</a>)</td></tr> |
| |
| </table> |
| <hr><a name="_details"></a><h2>Detailed Description</h2> |
| <pre> |
| -- SuperLU routine (version 2.0) -- |
| Univ. of California Berkeley, Xerox Palo Alto Research Center, |
| and Lawrence Berkeley National Lab. |
| November 15, 1997</pre><p> |
| <pre> Modified from lapack routine CLANGE |
| </pre> <hr><h2>Function Documentation</h2> |
| <a class="anchor" name="3e9baabe44cf6d5779cae55b80bc5763"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float clangs </td> |
| <td>(</td> |
| <td class="paramtype">char * </td> |
| <td class="paramname"> <em>norm</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="structSuperMatrix.html">SuperMatrix</a> * </td> |
| <td class="paramname"> <em>A</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td width="100%"></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p> |
| <pre> |
| Purpose |
| =======</pre><p> |
| <pre> CLANGS returns the value of the one norm, or the Frobenius norm, or |
| the infinity norm, or the element of largest absolute value of a |
| real matrix A.</pre><p> |
| <pre> Description |
| ===========</pre><p> |
| <pre> CLANGE returns the value</pre><p> |
| <pre> CLANGE = ( max(abs(A(i,j))), NORM = 'M' or 'm' |
| ( |
| ( norm1(A), NORM = '1', 'O' or 'o' |
| ( |
| ( normI(A), NORM = 'I' or 'i' |
| ( |
| ( normF(A), NORM = 'F', 'f', 'E' or 'e'</pre><p> |
| <pre> where norm1 denotes the one norm of a matrix (maximum column sum), |
| normI denotes the infinity norm of a matrix (maximum row sum) and |
| normF denotes the Frobenius norm of a matrix (square root of sum of |
| squares). Note that max(abs(A(i,j))) is not a matrix norm.</pre><p> |
| <pre> Arguments |
| =========</pre><p> |
| <pre> NORM (input) CHARACTER*1 |
| Specifies the value to be returned in CLANGE as described above. |
| A (input) SuperMatrix* |
| The M by N sparse matrix A.</pre><p> |
| <pre> ===================================================================== |
| </pre> |
| </div> |
| </div><p> |
| </div> |
| <hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 22 10:23:47 2010 for SuperLU by |
| <a href="http://www.doxygen.org/index.html"> |
| <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> |
| </body> |
| </html> |