<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ITK: itk::fem::ItpackSparseMatrix Class Reference</title> <link href="DoxygenStyle.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 --> <center> <a href="index.html" class="qindex">Main Page</a> <a href="modules.html" class="qindex">Groups</a> <a href="namespaces.html" class="qindex">Namespace List</a> <a href="hierarchy.html" class="qindex">Class Hierarchy</a> <a href="classes.html" class="qindex">Alphabetical List</a> <a href="annotated.html" class="qindex">Compound List</a> <a href="files.html" class="qindex">File List</a> <a href="namespacemembers.html" class="qindex">Namespace Members</a> <a href="functions.html" class="qindex">Compound Members</a> <a href="globals.html" class="qindex">File Members</a> <a href="pages.html" class="qindex">Concepts</a></center> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="namespaceitk.html">itk</a>::<a class="el" href="namespaceitk_1_1fem.html">fem</a>::<a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html">ItpackSparseMatrix</a> </div> <div class="contents"> <h1>itk::fem::ItpackSparseMatrix Class Reference</h1><!-- doxytag: class="itk::fem::ItpackSparseMatrix" -->a compressed row sparse matrix representation that makes use of itpack to dynamically assemble the matrix <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>></code> <p> <p> <a href="classitk_1_1fem_1_1ItpackSparseMatrix-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef double </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef long </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#49853229120163a23c0de32a2b34f2c4">Add</a> (<a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> i, <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> j, <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> value)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#927e194a06267bfaf7c6b5250a5b1d7c">Clear</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#613bc3e8fb14ed3fb4b8cf85640f9335">Get</a> (<a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> i, <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> j)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#183273ccbdba95265617ff01a4bb63cf">GetA</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#8556cca21a6e5009a4a7bcf20c8e3040">GetColumnArray</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#444993e7c2eb39eece991419f8fbca0c">GetIA</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#82daaa677365be81d37e30c0a05bc0be">GetJA</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#5223472a8a0c7fc2af26f3c8a2d65c66">GetMaxNonZeroValues</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#2a5acdb07d3f834255db465a0f299c4d">GetN</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#09f0ef0554539050d9effdb3bf3d4018">GetOrder</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#1b2eaf5f34797598326284e2738815ac">GetRowArray</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#aff6d12e83d07acc96f2a163192091ec">GetValueArray</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e205543d30bc7aa5d494a2b7b7b74704">ItpackSparseMatrix</a> (<a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> order, <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> maxNonZeroValues)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#035773704e271f6995a02fc21f70c45e">ItpackSparseMatrix</a> (<a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> order)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#56d295d560f7ef37f3fed874b106ddf8">ItpackSparseMatrix</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#96c1de193d0d8cdfb58640cef47fdd6b">mult</a> (<a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html">ItpackSparseMatrix</a> *rightMatrix, <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html">ItpackSparseMatrix</a> *resultMatrix)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#3fffa5a6b6b3a05372cbeb7ce15f453e">mult</a> (<a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> *<a class="el" href="classstd_1_1vector.html">vector</a>, <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> *result)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e122cd262a3d36184ce4729e3aa3d2e4">PrintCompressedRow</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#c97af74cb982bc2e0422384cd90d3dd7">Set</a> (<a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> i, <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> j, <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> value)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#dca0fe5778cf8b0e1b73808bcd8d5638">SetCompressedRow</a> (<a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> *ia, <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> *ja, <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> *a)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#d64c113af942753419f52aded1cff018">SetMaxNonZeroValues</a> (<a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> maxNonZeroValues)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#7afeee781d7c2460e56ef131232e8fc5">SetOrder</a> (<a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> order)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#4050d278cf80cbeae807df0a542bf70a">~ItpackSparseMatrix</a> ()</td></tr> <tr><td colspan="2"><br><h2>Friends</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#eae641e21821b7375151205182696592">LinearSystemWrapperItpack</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> a compressed row sparse matrix representation that makes use of itpack to dynamically assemble the matrix <p> <dl class="see" compact><dt><b>See also:</b></dt><dd>ItpackLinearSystemWrapper </dd></dl> <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00037">37</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="e965029418138ea00050ca61a4270e6d"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::doublereal" ref="e965029418138ea00050ca61a4270e6d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef double <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">itk::fem::ItpackSparseMatrix::doublereal</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00043">43</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> </div> </div><p> <a class="anchor" name="706c8c2b54f02c78103fcb4a6601174d"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::integer" ref="706c8c2b54f02c78103fcb4a6601174d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef long <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">itk::fem::ItpackSparseMatrix::integer</a> </td> </tr> </table> </div> <div class="memdoc"> <p> typedefs from f2c.h <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00042">42</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="56d295d560f7ef37f3fed874b106ddf8"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::ItpackSparseMatrix" ref="56d295d560f7ef37f3fed874b106ddf8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">itk::fem::ItpackSparseMatrix::ItpackSparseMatrix </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor </div> </div><p> <a class="anchor" name="035773704e271f6995a02fc21f70c45e"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::ItpackSparseMatrix" ref="035773704e271f6995a02fc21f70c45e" args="(integer order)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">itk::fem::ItpackSparseMatrix::ItpackSparseMatrix </td> <td>(</td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td> <td class="paramname"> <em>order</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor with single parameter <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>order</em> </td><td>the order of the matrix to be created </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="e205543d30bc7aa5d494a2b7b7b74704"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::ItpackSparseMatrix" ref="e205543d30bc7aa5d494a2b7b7b74704" args="(integer order, integer maxNonZeroValues)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">itk::fem::ItpackSparseMatrix::ItpackSparseMatrix </td> <td>(</td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td> <td class="paramname"> <em>order</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td> <td class="paramname"> <em>maxNonZeroValues</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor with two parameters <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>order</em> </td><td>the order of the matrix to be created </td></tr> <tr><td valign="top"></td><td valign="top"><em>maxNonZeroValues</em> </td><td>the maximum number of non-zero values that may appear in the matrix </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="4050d278cf80cbeae807df0a542bf70a"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::~ItpackSparseMatrix" ref="4050d278cf80cbeae807df0a542bf70a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">itk::fem::ItpackSparseMatrix::~ItpackSparseMatrix </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Destructor </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="49853229120163a23c0de32a2b34f2c4"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::Add" ref="49853229120163a23c0de32a2b34f2c4" args="(integer i, integer j, doublereal value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::fem::ItpackSparseMatrix::Add </td> <td>(</td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td> <td class="paramname"> <em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td> <td class="paramname"> <em>j</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Add to existing entry of matrix <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>i</em> </td><td>row index </td></tr> <tr><td valign="top"></td><td valign="top"><em>j</em> </td><td>column index </td></tr> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>value to add to current value at (i,j) </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="927e194a06267bfaf7c6b5250a5b1d7c"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::Clear" ref="927e194a06267bfaf7c6b5250a5b1d7c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::fem::ItpackSparseMatrix::Clear </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Clear the memory </div> </div><p> <a class="anchor" name="613bc3e8fb14ed3fb4b8cf85640f9335"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::Get" ref="613bc3e8fb14ed3fb4b8cf85640f9335" args="(integer i, integer j)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> itk::fem::ItpackSparseMatrix::Get </td> <td>(</td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td> <td class="paramname"> <em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td> <td class="paramname"> <em>j</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Get a value from the matrix <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>i</em> </td><td>row index </td></tr> <tr><td valign="top"></td><td valign="top"><em>j</em> </td><td>column index </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="183273ccbdba95265617ff01a4bb63cf"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::GetA" ref="183273ccbdba95265617ff01a4bb63cf" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a>* itk::fem::ItpackSparseMatrix::GetA </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Get the values of the matrix (via "itpack-like" naming scheme) <p>Referenced by <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00135">GetValueArray()</a>.</p> </div> </div><p> <a class="anchor" name="8556cca21a6e5009a4a7bcf20c8e3040"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::GetColumnArray" ref="8556cca21a6e5009a4a7bcf20c8e3040" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a>* itk::fem::ItpackSparseMatrix::GetColumnArray </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the column indices <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00140">140</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> <p>References <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#82daaa677365be81d37e30c0a05bc0be">GetJA()</a>.</p> </div> </div><p> <a class="anchor" name="444993e7c2eb39eece991419f8fbca0c"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::GetIA" ref="444993e7c2eb39eece991419f8fbca0c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a>* itk::fem::ItpackSparseMatrix::GetIA </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Get the row indices of the matrix (via "itpack-like" naming scheme) <p>Referenced by <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00145">GetRowArray()</a>.</p> </div> </div><p> <a class="anchor" name="82daaa677365be81d37e30c0a05bc0be"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::GetJA" ref="82daaa677365be81d37e30c0a05bc0be" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a>* itk::fem::ItpackSparseMatrix::GetJA </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Get the column indices of the matrix (via "itpack-like" naming scheme) <p>Referenced by <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00140">GetColumnArray()</a>.</p> </div> </div><p> <a class="anchor" name="5223472a8a0c7fc2af26f3c8a2d65c66"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::GetMaxNonZeroValues" ref="5223472a8a0c7fc2af26f3c8a2d65c66" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> itk::fem::ItpackSparseMatrix::GetMaxNonZeroValues </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the maximum number of non-zero values allowed in the matrix <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00155">155</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> </div> </div><p> <a class="anchor" name="2a5acdb07d3f834255db465a0f299c4d"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::GetN" ref="2a5acdb07d3f834255db465a0f299c4d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a>* itk::fem::ItpackSparseMatrix::GetN </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the order of the matrix (via "itpack-like" naming scheme) <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00107">107</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> </div> </div><p> <a class="anchor" name="09f0ef0554539050d9effdb3bf3d4018"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::GetOrder" ref="09f0ef0554539050d9effdb3bf3d4018" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> itk::fem::ItpackSparseMatrix::GetOrder </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the order of the matrix <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00150">150</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> </div> </div><p> <a class="anchor" name="1b2eaf5f34797598326284e2738815ac"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::GetRowArray" ref="1b2eaf5f34797598326284e2738815ac" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a>* itk::fem::ItpackSparseMatrix::GetRowArray </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the row indices <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00145">145</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> <p>References <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#444993e7c2eb39eece991419f8fbca0c">GetIA()</a>.</p> </div> </div><p> <a class="anchor" name="aff6d12e83d07acc96f2a163192091ec"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::GetValueArray" ref="aff6d12e83d07acc96f2a163192091ec" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a>* itk::fem::ItpackSparseMatrix::GetValueArray </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the values of the matrix <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00135">135</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> <p>References <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#183273ccbdba95265617ff01a4bb63cf">GetA()</a>.</p> </div> </div><p> <a class="anchor" name="96c1de193d0d8cdfb58640cef47fdd6b"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::mult" ref="96c1de193d0d8cdfb58640cef47fdd6b" args="(ItpackSparseMatrix *rightMatrix, ItpackSparseMatrix *resultMatrix)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::fem::ItpackSparseMatrix::mult </td> <td>(</td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html">ItpackSparseMatrix</a> * </td> <td class="paramname"> <em>rightMatrix</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html">ItpackSparseMatrix</a> * </td> <td class="paramname"> <em>resultMatrix</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Multiply the matrix by another <a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html" title="a compressed row sparse matrix representation that makes use of itpack to dynamically...">ItpackSparseMatrix</a> </div> </div><p> <a class="anchor" name="3fffa5a6b6b3a05372cbeb7ce15f453e"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::mult" ref="3fffa5a6b6b3a05372cbeb7ce15f453e" args="(doublereal *vector, doublereal *result)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::fem::ItpackSparseMatrix::mult </td> <td>(</td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> * </td> <td class="paramname"> <em>vector</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> * </td> <td class="paramname"> <em>result</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Multiply the matrix by a vector </div> </div><p> <a class="anchor" name="e122cd262a3d36184ce4729e3aa3d2e4"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::PrintCompressedRow" ref="e122cd262a3d36184ce4729e3aa3d2e4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::fem::ItpackSparseMatrix::PrintCompressedRow </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> output compressed row vectors: IA, JA, <a class="el" href="classA.html">A</a> </div> </div><p> <a class="anchor" name="c97af74cb982bc2e0422384cd90d3dd7"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::Set" ref="c97af74cb982bc2e0422384cd90d3dd7" args="(integer i, integer j, doublereal value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::fem::ItpackSparseMatrix::Set </td> <td>(</td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td> <td class="paramname"> <em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td> <td class="paramname"> <em>j</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Insert a value into the matrix <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>i</em> </td><td>row index </td></tr> <tr><td valign="top"></td><td valign="top"><em>j</em> </td><td>column index </td></tr> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>value to be added at (i,j) </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="dca0fe5778cf8b0e1b73808bcd8d5638"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::SetCompressedRow" ref="dca0fe5778cf8b0e1b73808bcd8d5638" args="(integer *ia, integer *ja, doublereal *a)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::fem::ItpackSparseMatrix::SetCompressedRow </td> <td>(</td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> * </td> <td class="paramname"> <em>ia</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> * </td> <td class="paramname"> <em>ja</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#e965029418138ea00050ca61a4270e6d">doublereal</a> * </td> <td class="paramname"> <em>a</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Pass pointers to compressed row format arrays <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>ia</em> </td><td>row indices </td></tr> <tr><td valign="top"></td><td valign="top"><em>ja</em> </td><td>column indices </td></tr> <tr><td valign="top"></td><td valign="top"><em>a</em> </td><td>matrix values </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="d64c113af942753419f52aded1cff018"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::SetMaxNonZeroValues" ref="d64c113af942753419f52aded1cff018" args="(integer maxNonZeroValues)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::fem::ItpackSparseMatrix::SetMaxNonZeroValues </td> <td>(</td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td> <td class="paramname"> <em>maxNonZeroValues</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the maximum number of non-zero values that may appear in the matrix <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>maxNonZeroValues</em> </td><td>maximum number of non-zero values that may appear in matrix </td></tr> </table> </dl> <dl class="note" compact><dt><b>Note:</b></dt><dd>the maxNonZeroValues must be set before any values are entered </dd></dl> <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00080">80</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> </div> </div><p> <a class="anchor" name="7afeee781d7c2460e56ef131232e8fc5"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::SetOrder" ref="7afeee781d7c2460e56ef131232e8fc5" args="(integer order)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::fem::ItpackSparseMatrix::SetOrder </td> <td>(</td> <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1ItpackSparseMatrix.html#706c8c2b54f02c78103fcb4a6601174d">integer</a> </td> <td class="paramname"> <em>order</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the order of the matrix <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>order</em> </td><td>the order of the matrix </td></tr> </table> </dl> <dl class="note" compact><dt><b>Note:</b></dt><dd>the order must be set before any values are entered </dd></dl> <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00073">73</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="eae641e21821b7375151205182696592"></a><!-- doxytag: member="itk::fem::ItpackSparseMatrix::LinearSystemWrapperItpack" ref="eae641e21821b7375151205182696592" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">friend class <a class="el" href="classitk_1_1fem_1_1LinearSystemWrapperItpack.html">LinearSystemWrapperItpack</a><code> [friend]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> friend class <p>Definition at line <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html#l00178">178</a> of file <a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="itkFEMItpackSparseMatrix_8h_source.html">itkFEMItpackSparseMatrix.h</a></ul> </div> <hr><address><small> Generated at Fri May 8 08:43:48 2009 for ITK by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53> </a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2000</small></address> </body> </html>