[8] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 3 | <title>mixpp: fsqmat Class Reference</title> |
---|
| 4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
| 6 | </head><body> |
---|
| 7 | <!-- Generated by Doxygen 1.5.3 --> |
---|
| 8 | <div class="tabs"> |
---|
| 9 | <ul> |
---|
| 10 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
| 11 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 12 | <li><a href="files.html"><span>Files</span></a></li> |
---|
[28] | 13 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
[8] | 14 | </ul> |
---|
| 15 | </div> |
---|
| 16 | <div class="tabs"> |
---|
| 17 | <ul> |
---|
| 18 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
| 19 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 20 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 21 | </ul> |
---|
| 22 | </div> |
---|
| 23 | <h1>fsqmat Class Reference</h1><!-- doxytag: class="fsqmat" --><!-- doxytag: inherits="sqmat" -->Fake <a class="el" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a>. This class maps <a class="el" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a> operations to operations on full matrix. |
---|
| 24 | <a href="#_details">More...</a> |
---|
| 25 | <p> |
---|
| 26 | <code>#include <<a class="el" href="libDC_8h-source.html">libDC.h</a>></code> |
---|
| 27 | <p> |
---|
| 28 | <div class="dynheader"> |
---|
| 29 | Inheritance diagram for fsqmat:</div> |
---|
| 30 | <div class="dynsection"> |
---|
[19] | 31 | <p><center><img src="classfsqmat__inherit__graph.png" border="0" usemap="#fsqmat__inherit__map" alt="Inheritance graph"></center> |
---|
| 32 | <map name="fsqmat__inherit__map"> |
---|
| 33 | <area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="8,7,69,33"></map> |
---|
| 34 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 35 | <div class="dynheader"> |
---|
| 36 | Collaboration diagram for fsqmat:</div> |
---|
| 37 | <div class="dynsection"> |
---|
| 38 | <p><center><img src="classfsqmat__coll__graph.png" border="0" usemap="#fsqmat__coll__map" alt="Collaboration graph"></center> |
---|
| 39 | <map name="fsqmat__coll__map"> |
---|
| 40 | <area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="8,7,69,33"></map> |
---|
| 41 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
[8] | 42 | |
---|
| 43 | <p> |
---|
| 44 | <a href="classfsqmat-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 45 | <tr><td></td></tr> |
---|
[22] | 46 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
| 47 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#b36530e155667fe9f1bd58394e50c65a">opupdt</a> (const vec &v, double w)</td></tr> |
---|
| 48 | |
---|
| 49 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cedf4f048309056f4262c930914dfda8"></a><!-- doxytag: member="fsqmat::to_mat" ref="cedf4f048309056f4262c930914dfda8" args="()" --> |
---|
| 50 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#cedf4f048309056f4262c930914dfda8">to_mat</a> ()</td></tr> |
---|
| 51 | |
---|
| 52 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Conversion to full matrix. <br></td></tr> |
---|
[32] | 53 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#5530d2756b5d991de755e6121c9a452e">mult_sym</a> (const mat &C)</td></tr> |
---|
[22] | 54 | |
---|
[32] | 55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Inplace symmetric multiplication by a SQUARE matrix $C$, i.e. $V = C*V*C'$. <a href="#5530d2756b5d991de755e6121c9a452e"></a><br></td></tr> |
---|
| 56 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#92052a8adc2054b63e42d1373d145c89">mult_sym_t</a> (const mat &C)</td></tr> |
---|
[22] | 57 | |
---|
[32] | 58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Inplace symmetric multiplication by a SQUARE transpose of matrix $C$, i.e. $V = C'*V*C$. <a href="#92052a8adc2054b63e42d1373d145c89"></a><br></td></tr> |
---|
[33] | 59 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4eddc3743c8865cc5ed92d14de0e3e3"></a><!-- doxytag: member="fsqmat::mult_sym" ref="d4eddc3743c8865cc5ed92d14de0e3e3" args="(const mat &C, fsqmat &U) const " --> |
---|
| 60 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#d4eddc3743c8865cc5ed92d14de0e3e3">mult_sym</a> (const mat &C, <a class="el" href="classfsqmat.html">fsqmat</a> &U) const </td></tr> |
---|
[32] | 61 | |
---|
[33] | 62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">store result of <code>mult_sym</code> in external matrix $U$ <br></td></tr> |
---|
| 63 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae4949ad2a32553c7fa04d6d1483770a"></a><!-- doxytag: member="fsqmat::mult_sym_t" ref="ae4949ad2a32553c7fa04d6d1483770a" args="(const mat &C, fsqmat &U) const " --> |
---|
| 64 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#ae4949ad2a32553c7fa04d6d1483770a">mult_sym_t</a> (const mat &C, <a class="el" href="classfsqmat.html">fsqmat</a> &U) const </td></tr> |
---|
[32] | 65 | |
---|
[33] | 66 | <tr><td class="mdescLeft"> </td><td class="mdescRight">store result of <code>mult_sym_t</code> in external matrix $U$ <br></td></tr> |
---|
[22] | 67 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cfa4c359483d2322f32d1d50050f8ac4"></a><!-- doxytag: member="fsqmat::clear" ref="cfa4c359483d2322f32d1d50050f8ac4" args="()" --> |
---|
| 68 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#cfa4c359483d2322f32d1d50050f8ac4">clear</a> ()</td></tr> |
---|
| 69 | |
---|
| 70 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Clearing matrix so that it corresponds to zeros. <br></td></tr> |
---|
[32] | 71 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="79e3f73e0ccd663c7f7e08083d272940"></a><!-- doxytag: member="fsqmat::fsqmat" ref="79e3f73e0ccd663c7f7e08083d272940" args="()" --> |
---|
| 72 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#79e3f73e0ccd663c7f7e08083d272940">fsqmat</a> ()</td></tr> |
---|
| 73 | |
---|
| 74 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default initialization. <br></td></tr> |
---|
| 75 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40eae99305e7c7240fa95cfec125b06f"></a><!-- doxytag: member="fsqmat::fsqmat" ref="40eae99305e7c7240fa95cfec125b06f" args="(const int dim0)" --> |
---|
| 76 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#40eae99305e7c7240fa95cfec125b06f">fsqmat</a> (const int dim0)</td></tr> |
---|
| 77 | |
---|
| 78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default initialization with proper size. <br></td></tr> |
---|
[22] | 79 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1929fbc9fe375f1d67f979d0d302336f"></a><!-- doxytag: member="fsqmat::fsqmat" ref="1929fbc9fe375f1d67f979d0d302336f" args="(const mat &M)" --> |
---|
[33] | 80 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#1929fbc9fe375f1d67f979d0d302336f">fsqmat</a> (const mat &<a class="el" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453">M</a>)</td></tr> |
---|
[22] | 81 | |
---|
| 82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br></td></tr> |
---|
[32] | 83 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2a8f104e4befbc2aa90d8b11edfedb2e"></a><!-- doxytag: member="fsqmat::~fsqmat" ref="2a8f104e4befbc2aa90d8b11edfedb2e" args="()" --> |
---|
| 84 | virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#2a8f104e4befbc2aa90d8b11edfedb2e">~fsqmat</a> ()</td></tr> |
---|
| 85 | |
---|
| 86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor for future use;. <br></td></tr> |
---|
[28] | 87 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#9fa853e1ca28f2a1a1c43377e798ecb1">inv</a> (<a class="el" href="classfsqmat.html">fsqmat</a> &Inv)</td></tr> |
---|
[22] | 88 | |
---|
[28] | 89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix inversion preserving the chosen form. <a href="#9fa853e1ca28f2a1a1c43377e798ecb1"></a><br></td></tr> |
---|
[32] | 90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb0d1358f536e4453b5f99d0418ca1e5"></a><!-- doxytag: member="fsqmat::logdet" ref="eb0d1358f536e4453b5f99d0418ca1e5" args="() const " --> |
---|
| 91 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#eb0d1358f536e4453b5f99d0418ca1e5">logdet</a> () const </td></tr> |
---|
[22] | 92 | |
---|
| 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of a determinant. <br></td></tr> |
---|
[33] | 94 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6c91b0389e73404324b2314b08d6e87"></a><!-- doxytag: member="fsqmat::qform" ref="a6c91b0389e73404324b2314b08d6e87" args="(const vec &v) const " --> |
---|
| 95 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#a6c91b0389e73404324b2314b08d6e87">qform</a> (const vec &v) const </td></tr> |
---|
[22] | 96 | |
---|
| 97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates quadratic form $x= v'*V*v$;. <br></td></tr> |
---|
[33] | 98 | <tr><td class="memItemLeft" nowrap align="right" valign="top">vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">sqrt_mult</a> (const vec &v) const </td></tr> |
---|
[22] | 99 | |
---|
[33] | 100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplies square root of $V$ by vector $x$. <a href="#842a774077ee34ac3c36d180ab33e103"></a><br></td></tr> |
---|
[22] | 101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="514d1fdd8a382dbd6a774f2cf1ebd3de"></a><!-- doxytag: member="fsqmat::operator+=" ref="514d1fdd8a382dbd6a774f2cf1ebd3de" args="(const fsqmat &A)" --> |
---|
[33] | 102 | <a class="el" href="classfsqmat.html">fsqmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#514d1fdd8a382dbd6a774f2cf1ebd3de">operator+=</a> (const <a class="el" href="classfsqmat.html">fsqmat</a> &A)</td></tr> |
---|
[22] | 103 | |
---|
[33] | 104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">add another <a class="el" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> matrix <br></td></tr> |
---|
[22] | 105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e976bc9d899961e1d2087b0630ed33b7"></a><!-- doxytag: member="fsqmat::operator-=" ref="e976bc9d899961e1d2087b0630ed33b7" args="(const fsqmat &A)" --> |
---|
[33] | 106 | <a class="el" href="classfsqmat.html">fsqmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#e976bc9d899961e1d2087b0630ed33b7">operator-=</a> (const <a class="el" href="classfsqmat.html">fsqmat</a> &A)</td></tr> |
---|
[22] | 107 | |
---|
[33] | 108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">subtrack another <a class="el" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> matrix <br></td></tr> |
---|
[22] | 109 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f7ce97628a50e06641281096b2af9b7"></a><!-- doxytag: member="fsqmat::operator *=" ref="8f7ce97628a50e06641281096b2af9b7" args="(double x)" --> |
---|
[33] | 110 | <a class="el" href="classfsqmat.html">fsqmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#8f7ce97628a50e06641281096b2af9b7">operator *=</a> (double x)</td></tr> |
---|
[22] | 111 | |
---|
[33] | 112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">multiply by a scalar <br></td></tr> |
---|
[28] | 113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ecc2e2540f95a04f4449842588170f5b"></a><!-- doxytag: member="fsqmat::cols" ref="ecc2e2540f95a04f4449842588170f5b" args="() const " --> |
---|
| 114 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classsqmat.html#ecc2e2540f95a04f4449842588170f5b">cols</a> () const </td></tr> |
---|
| 115 | |
---|
| 116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reimplementing common functions of mat: <a class="el" href="classsqmat.html#ecc2e2540f95a04f4449842588170f5b" title="Reimplementing common functions of mat: cols().">cols()</a>. <br></td></tr> |
---|
| 117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="071e80ced9cc3b8cbb360fa7462eb646"></a><!-- doxytag: member="fsqmat::rows" ref="071e80ced9cc3b8cbb360fa7462eb646" args="() const " --> |
---|
| 118 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classsqmat.html#071e80ced9cc3b8cbb360fa7462eb646">rows</a> () const </td></tr> |
---|
| 119 | |
---|
| 120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reimplementing common functions of mat: <a class="el" href="classsqmat.html#ecc2e2540f95a04f4449842588170f5b" title="Reimplementing common functions of mat: cols().">cols()</a>. <br></td></tr> |
---|
[22] | 121 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
| 122 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7a1fcb9aae19d1e4daddfc9c22ce453"></a><!-- doxytag: member="fsqmat::M" ref="a7a1fcb9aae19d1e4daddfc9c22ce453" args="" --> |
---|
[33] | 123 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453">M</a></td></tr> |
---|
[22] | 124 | |
---|
[33] | 125 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Full matrix on which the operations are performed. <br></td></tr> |
---|
[28] | 126 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0abed904bdc0882373ba9adba919689d"></a><!-- doxytag: member="fsqmat::dim" ref="0abed904bdc0882373ba9adba919689d" args="" --> |
---|
[33] | 127 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classsqmat.html#0abed904bdc0882373ba9adba919689d">dim</a></td></tr> |
---|
[28] | 128 | |
---|
[33] | 129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the square matrix <br></td></tr> |
---|
[32] | 130 | <tr><td colspan="2"><br><h2>Friends</h2></td></tr> |
---|
| 131 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e06aba54d61e807b41bd68b5ee6ac22f"></a><!-- doxytag: member="fsqmat::operator<<" ref="e06aba54d61e807b41bd68b5ee6ac22f" args="(std::ostream &os, const fsqmat &sq)" --> |
---|
[33] | 132 | std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#e06aba54d61e807b41bd68b5ee6ac22f">operator<<</a> (std::ostream &os, const <a class="el" href="classfsqmat.html">fsqmat</a> &sq)</td></tr> |
---|
[32] | 133 | |
---|
[33] | 134 | <tr><td class="mdescLeft"> </td><td class="mdescRight">print full matrix <br></td></tr> |
---|
[8] | 135 | </table> |
---|
| 136 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 137 | Fake <a class="el" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a>. This class maps <a class="el" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a> operations to operations on full matrix. |
---|
| 138 | <p> |
---|
[22] | 139 | This class can be used to compare performance of algorithms using decomposed matrices with perormance of the same algorithms using full matrices; <hr><h2>Member Function Documentation</h2> |
---|
| 140 | <a class="anchor" name="b36530e155667fe9f1bd58394e50c65a"></a><!-- doxytag: member="fsqmat::opupdt" ref="b36530e155667fe9f1bd58394e50c65a" args="(const vec &v, double w)" --> |
---|
| 141 | <div class="memitem"> |
---|
| 142 | <div class="memproto"> |
---|
| 143 | <table class="memname"> |
---|
| 144 | <tr> |
---|
| 145 | <td class="memname">void fsqmat::opupdt </td> |
---|
| 146 | <td>(</td> |
---|
| 147 | <td class="paramtype">const vec & </td> |
---|
| 148 | <td class="paramname"> <em>v</em>, </td> |
---|
| 149 | </tr> |
---|
| 150 | <tr> |
---|
| 151 | <td class="paramkey"></td> |
---|
| 152 | <td></td> |
---|
| 153 | <td class="paramtype">double </td> |
---|
| 154 | <td class="paramname"> <em>w</em></td><td> </td> |
---|
| 155 | </tr> |
---|
| 156 | <tr> |
---|
| 157 | <td></td> |
---|
| 158 | <td>)</td> |
---|
| 159 | <td></td><td></td><td width="100%"><code> [virtual]</code></td> |
---|
| 160 | </tr> |
---|
| 161 | </table> |
---|
| 162 | </div> |
---|
| 163 | <div class="memdoc"> |
---|
| 164 | |
---|
| 165 | <p> |
---|
| 166 | Perfroms a rank-1 update by outer product of vectors: $V = V + w v v'$. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 167 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 168 | <tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>Vector forming the outer product to be added </td></tr> |
---|
| 169 | <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>weight of updating; can be negative</td></tr> |
---|
| 170 | </table> |
---|
| 171 | </dl> |
---|
| 172 | BLAS-2b operation. |
---|
| 173 | <p>Implements <a class="el" href="classsqmat.html#b223484796661f2dadb5607a86ce0581">sqmat</a>.</p> |
---|
| 174 | |
---|
| 175 | </div> |
---|
| 176 | </div><p> |
---|
[32] | 177 | <a class="anchor" name="5530d2756b5d991de755e6121c9a452e"></a><!-- doxytag: member="fsqmat::mult_sym" ref="5530d2756b5d991de755e6121c9a452e" args="(const mat &C)" --> |
---|
[22] | 178 | <div class="memitem"> |
---|
| 179 | <div class="memproto"> |
---|
| 180 | <table class="memname"> |
---|
| 181 | <tr> |
---|
| 182 | <td class="memname">void fsqmat::mult_sym </td> |
---|
| 183 | <td>(</td> |
---|
| 184 | <td class="paramtype">const mat & </td> |
---|
[32] | 185 | <td class="paramname"> <em>C</em> </td> |
---|
| 186 | <td> ) </td> |
---|
| 187 | <td width="100%"><code> [virtual]</code></td> |
---|
[22] | 188 | </tr> |
---|
[32] | 189 | </table> |
---|
| 190 | </div> |
---|
| 191 | <div class="memdoc"> |
---|
| 192 | |
---|
| 193 | <p> |
---|
| 194 | Inplace symmetric multiplication by a SQUARE matrix $C$, i.e. $V = C*V*C'$. |
---|
| 195 | <p> |
---|
| 196 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 197 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 198 | <tr><td valign="top"></td><td valign="top"><em>C</em> </td><td>multiplying matrix, </td></tr> |
---|
| 199 | </table> |
---|
| 200 | </dl> |
---|
| 201 | |
---|
| 202 | <p>Implements <a class="el" href="classsqmat.html#60fbbfa9e483b8187c135f787ee53afa">sqmat</a>.</p> |
---|
| 203 | |
---|
| 204 | </div> |
---|
| 205 | </div><p> |
---|
| 206 | <a class="anchor" name="92052a8adc2054b63e42d1373d145c89"></a><!-- doxytag: member="fsqmat::mult_sym_t" ref="92052a8adc2054b63e42d1373d145c89" args="(const mat &C)" --> |
---|
| 207 | <div class="memitem"> |
---|
| 208 | <div class="memproto"> |
---|
| 209 | <table class="memname"> |
---|
[22] | 210 | <tr> |
---|
[32] | 211 | <td class="memname">void fsqmat::mult_sym_t </td> |
---|
| 212 | <td>(</td> |
---|
| 213 | <td class="paramtype">const mat & </td> |
---|
| 214 | <td class="paramname"> <em>C</em> </td> |
---|
| 215 | <td> ) </td> |
---|
| 216 | <td width="100%"><code> [virtual]</code></td> |
---|
[22] | 217 | </tr> |
---|
| 218 | </table> |
---|
| 219 | </div> |
---|
| 220 | <div class="memdoc"> |
---|
| 221 | |
---|
| 222 | <p> |
---|
[32] | 223 | Inplace symmetric multiplication by a SQUARE transpose of matrix $C$, i.e. $V = C'*V*C$. |
---|
[22] | 224 | <p> |
---|
| 225 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 226 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 227 | <tr><td valign="top"></td><td valign="top"><em>C</em> </td><td>multiplying matrix, </td></tr> |
---|
| 228 | </table> |
---|
| 229 | </dl> |
---|
| 230 | |
---|
[32] | 231 | <p>Implements <a class="el" href="classsqmat.html#6909e906da17725b1b80f3cae7cf3325">sqmat</a>.</p> |
---|
[22] | 232 | |
---|
| 233 | </div> |
---|
| 234 | </div><p> |
---|
[28] | 235 | <a class="anchor" name="9fa853e1ca28f2a1a1c43377e798ecb1"></a><!-- doxytag: member="fsqmat::inv" ref="9fa853e1ca28f2a1a1c43377e798ecb1" args="(fsqmat &Inv)" --> |
---|
[22] | 236 | <div class="memitem"> |
---|
| 237 | <div class="memproto"> |
---|
| 238 | <table class="memname"> |
---|
| 239 | <tr> |
---|
[28] | 240 | <td class="memname">void fsqmat::inv </td> |
---|
[22] | 241 | <td>(</td> |
---|
[28] | 242 | <td class="paramtype"><a class="el" href="classfsqmat.html">fsqmat</a> & </td> |
---|
[22] | 243 | <td class="paramname"> <em>Inv</em> </td> |
---|
| 244 | <td> ) </td> |
---|
| 245 | <td width="100%"><code> [virtual]</code></td> |
---|
| 246 | </tr> |
---|
| 247 | </table> |
---|
| 248 | </div> |
---|
| 249 | <div class="memdoc"> |
---|
| 250 | |
---|
| 251 | <p> |
---|
| 252 | Matrix inversion preserving the chosen form. |
---|
| 253 | <p> |
---|
| 254 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 255 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 256 | <tr><td valign="top"></td><td valign="top"><em>Inv</em> </td><td>a space where the inverse is stored. </td></tr> |
---|
| 257 | </table> |
---|
| 258 | </dl> |
---|
| 259 | |
---|
| 260 | </div> |
---|
| 261 | </div><p> |
---|
[33] | 262 | <a class="anchor" name="842a774077ee34ac3c36d180ab33e103"></a><!-- doxytag: member="fsqmat::sqrt_mult" ref="842a774077ee34ac3c36d180ab33e103" args="(const vec &v) const " --> |
---|
[22] | 263 | <div class="memitem"> |
---|
| 264 | <div class="memproto"> |
---|
| 265 | <table class="memname"> |
---|
| 266 | <tr> |
---|
| 267 | <td class="memname">vec fsqmat::sqrt_mult </td> |
---|
| 268 | <td>(</td> |
---|
[32] | 269 | <td class="paramtype">const vec & </td> |
---|
[22] | 270 | <td class="paramname"> <em>v</em> </td> |
---|
| 271 | <td> ) </td> |
---|
[33] | 272 | <td width="100%"> const<code> [inline, virtual]</code></td> |
---|
[22] | 273 | </tr> |
---|
| 274 | </table> |
---|
| 275 | </div> |
---|
| 276 | <div class="memdoc"> |
---|
| 277 | |
---|
| 278 | <p> |
---|
| 279 | Multiplies square root of $V$ by vector $x$. |
---|
| 280 | <p> |
---|
| 281 | Used e.g. in generating normal samples. |
---|
[33] | 282 | <p>Implements <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a>.</p> |
---|
[22] | 283 | |
---|
| 284 | </div> |
---|
| 285 | </div><p> |
---|
[28] | 286 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
[33] | 287 | <li>work/mixpp/bdm/math/<a class="el" href="libDC_8h-source.html">libDC.h</a><li>work/mixpp/bdm/math/libDC.cpp</ul> |
---|
[37] | 288 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 12 16:15:50 2008 for mixpp by |
---|
[8] | 289 | <a href="http://www.doxygen.org/index.html"> |
---|
| 290 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
---|
| 291 | </body> |
---|
| 292 | </html> |
---|