dsp__blas3_8c.html

来自「SuperLU is a general purpose library for」· HTML 代码 · 共 208 行

HTML
208
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>SuperLU: SRC/dsp_blas3.c File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.6 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>    <li id="current"><a href="files.html"><span>Files</span></a></li>  </ul></div><div class="tabs">  <ul>    <li><a href="files.html"><span>File&nbsp;List</span></a></li>    <li><a href="globals.html"><span>Globals</span></a></li>  </ul></div><h1>SRC/dsp_blas3.c File Reference</h1>Sparse BLAS3, using some dense BLAS3 operations. <a href="#_details">More...</a><p><code>#include &quot;<a class="el" href="slu__ddefs_8h-source.html">slu_ddefs.h</a>&quot;</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">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dsp__blas3_8c.html#6c8c4772ca0f241a43c5561b646fb749">sp_dgemm</a> (char *transa, char *transb, int m, int n, int k, double alpha, <a class="el" href="structSuperMatrix.html">SuperMatrix</a> *A, double *b, int ldb, double beta, double *c, int ldc)</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> <hr><h2>Function Documentation</h2><a class="anchor" name="6c8c4772ca0f241a43c5561b646fb749"></a><!-- doxytag: member="dsp_blas3.c::sp_dgemm" ref="6c8c4772ca0f241a43c5561b646fb749" args="(char *transa, char *transb, int m, int n, int k, double alpha, SuperMatrix *A, double *b, int ldb, double beta, double *c, int ldc)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">int sp_dgemm           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char *&nbsp;</td>          <td class="mdname" nowrap> <em>transa</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>char *&nbsp;</td>          <td class="mdname" nowrap> <em>transb</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>m</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>n</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>k</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap> <em>alpha</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="structSuperMatrix.html">SuperMatrix</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>A</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double *&nbsp;</td>          <td class="mdname" nowrap> <em>b</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>ldb</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap> <em>beta</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double *&nbsp;</td>          <td class="mdname" nowrap> <em>c</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>ldc</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><pre> Purpose      =======</pre><p><pre>   sp_d performs one of the matrix-matrix operations</pre><p><pre>      C := alpha*op( A )*op( B ) + beta*C,</pre><p><pre>   where  op( X ) is one of</pre><p><pre>      op( X ) = X   or   op( X ) = X'   or   op( X ) = conjg( X' ),</pre><p><pre>   alpha and beta are scalars, and A, B and C are matrices, with op( A )    an m by k matrix,  op( B )  a  k by n matrix and  C an m by n matrix.</pre><p><pre>   Parameters      ==========</pre><p><pre>   TRANSA - (input) char*            On entry, TRANSA specifies the form of op( A ) to be used in             the matrix multiplication as follows:                  TRANSA = 'N' or 'n',  op( A ) = A.                  TRANSA = 'T' or 't',  op( A ) = A'.                  TRANSA = 'C' or 'c',  op( A ) = conjg( A' ).               Unchanged on exit.</pre><p><pre>   TRANSB - (input) char*            On entry, TRANSB specifies the form of op( B ) to be used in             the matrix multiplication as follows:                  TRANSB = 'N' or 'n',  op( B ) = B.                  TRANSB = 'T' or 't',  op( B ) = B'.                  TRANSB = 'C' or 'c',  op( B ) = conjg( B' ).               Unchanged on exit.</pre><p><pre>   M      - (input) int               On entry,  M  specifies  the number of rows of the matrix 	     op( A ) and of the matrix C.  M must be at least zero. 	     Unchanged on exit.</pre><p><pre>   N      - (input) int            On entry,  N specifies the number of columns of the matrix 	     op( B ) and the number of columns of the matrix C. N must be 	     at least zero.	     Unchanged on exit.</pre><p><pre>   K      - (input) int            On entry, K specifies the number of columns of the matrix 	     op( A ) and the number of rows of the matrix op( B ). K must 	     be at least  zero.              Unchanged on exit.</pre><p><pre>   ALPHA  - (input) double            On entry, ALPHA specifies the scalar alpha.</pre><p><pre>   A      - (input) SuperMatrix*            Matrix A with a sparse format, of dimension (A-&gt;nrow, A-&gt;ncol).            Currently, the type of A can be:                Stype = NC or NCP; Dtype = SLU_D; Mtype = GE.             In the future, more general A can be handled.</pre><p><pre>   B      - DOUBLE PRECISION array of DIMENSION ( LDB, kb ), where kb is             n when TRANSB = 'N' or 'n',  and is  k otherwise.               Before entry with  TRANSB = 'N' or 'n',  the leading k by n             part of the array B must contain the matrix B, otherwise             the leading n by k part of the array B must contain the             matrix B.               Unchanged on exit.</pre><p><pre>   LDB    - (input) int            On entry, LDB specifies the first dimension of B as declared             in the calling (sub) program. LDB must be at least <a class="el" href="slamch_8c.html#ffe776513b24d84b39af8ab0930fef7f">max( 1, n )</a>.              Unchanged on exit.</pre><p><pre>   BETA   - (input) double            On entry, BETA specifies the scalar beta. When BETA is               supplied as zero then C need not be set on input.</pre><p><pre>   C      - DOUBLE PRECISION array of DIMENSION ( LDC, n ).               Before entry, the leading m by n part of the array C must             contain the matrix C,  except when beta is zero, in which             case C need not be set on entry.               On exit, the array C is overwritten by the m by n matrix 	     ( alpha*op( A )*B + beta*C ).</pre><p><pre>   LDC    - (input) int            On entry, LDC specifies the first dimension of C as declared             in the calling (sub)program. LDC must be at least <a class="el" href="slamch_8c.html#ffe776513b24d84b39af8ab0930fef7f">max(1,m)</a>.               Unchanged on exit.</pre><p><pre>   ==== Sparse Level 3 Blas routine.    </pre>     </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Fri Aug 1 22:40:40 2008 for SuperLU by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?