Changeset 290 for doc/html/libDC_8h-source.html
- Timestamp:
- 03/06/09 15:03:45 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/libDC_8h-source.html
r287 r290 2 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 3 3 <title>mixpp: libDC.h Source File</title> 4 <link href="tabs.css" rel="stylesheet" type="text/css"> 4 5 <link href="doxygen.css" rel="stylesheet" type="text/css"> 5 <link href="tabs.css" rel="stylesheet" type="text/css">6 6 </head><body> 7 <!-- Generated by Doxygen 1.5. 6-->7 <!-- Generated by Doxygen 1.5.8 --> 8 8 <script type="text/javascript"> 9 9 <!-- … … 53 53 <li><a href="pages.html"><span>Related Pages</span></a></li> 54 54 <li><a href="modules.html"><span>Modules</span></a></li> 55 <li><a href=" classes.html"><span>Classes</span></a></li>55 <li><a href="annotated.html"><span>Classes</span></a></li> 56 56 <li class="current"><a href="files.html"><span>Files</span></a></li> 57 </ul> 58 </div> 59 <div class="tabs"> 60 <ul> 61 <li><a href="files.html"><span>File List</span></a></li> 62 <li><a href="globals.html"><span>File Members</span></a></li> 57 63 </ul> 58 64 </div> … … 101 107 <a name="l00101"></a>00101 102 108 <a name="l00103"></a><a class="code" href="classsqmat.html#0481f2067bb32aaea7e6d4f27e46b656">00103</a> <span class="keyword">virtual</span> <a class="code" href="classsqmat.html#0481f2067bb32aaea7e6d4f27e46b656" title="Destructor for future use;.">~sqmat</a>(){}; 103 <a name="l00105"></a><a class="code" href="classsqmat.html#4268750c040c716b2c05037f725078a2">00105</a> <a class="code" href="classsqmat.html# 5493a4a11a2b3c41de9cdd8ce305bb44" title="Default constructor.">sqmat</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> dim0): <a class="code" href="classsqmat.html#0abed904bdc0882373ba9adba919689d" title="dimension of the square matrix">dim</a>(dim0){};109 <a name="l00105"></a><a class="code" href="classsqmat.html#4268750c040c716b2c05037f725078a2">00105</a> <a class="code" href="classsqmat.html#4268750c040c716b2c05037f725078a2" title="Default constructor.">sqmat</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> dim0): <a class="code" href="classsqmat.html#0abed904bdc0882373ba9adba919689d" title="dimension of the square matrix">dim</a>(dim0){}; 104 110 <a name="l00107"></a><a class="code" href="classsqmat.html#5493a4a11a2b3c41de9cdd8ce305bb44">00107</a> <a class="code" href="classsqmat.html#5493a4a11a2b3c41de9cdd8ce305bb44" title="Default constructor.">sqmat</a>(): <a class="code" href="classsqmat.html#0abed904bdc0882373ba9adba919689d" title="dimension of the square matrix">dim</a>(0){}; 105 111 <a name="l00108"></a>00108 <span class="keyword">protected</span>: … … 124 130 <a name="l00137"></a>00137 <span class="comment"></span> <a class="code" href="classfsqmat.html#79e3f73e0ccd663c7f7e08083d272940" title="Default initialization.">fsqmat</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> dim0); <span class="comment">// mat will be initialized OK</span> 125 131 <a name="l00139"></a>00139 <span class="comment"></span> <a class="code" href="classfsqmat.html#79e3f73e0ccd663c7f7e08083d272940" title="Default initialization.">fsqmat</a> ( <span class="keyword">const</span> mat &<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a> ); 126 <a name="l00141"></a><a class="code" href="classfsqmat.html#9e19a5e26083f4a493b6fad38cc40fab">00141</a> <a class="code" href="classfsqmat.html# 79e3f73e0ccd663c7f7e08083d272940" title="Default initialization.">fsqmat</a> ( <span class="keyword">const</span> <a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> &<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a>, <span class="keyword">const</span> ivec &perm ):<a class="code" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a>(M.<a class="code" href="classsqmat.html#071e80ced9cc3b8cbb360fa7462eb646" title="Reimplementing common functions of mat: cols().">rows</a>()){it_error(<span class="stringliteral">"not implemneted"</span>);};127 <a name="l00143"></a><a class="code" href="classfsqmat.html#c01f3e9bb590f2a2921369d672f3ce1e">00143</a> <a class="code" href="classfsqmat.html# 79e3f73e0ccd663c7f7e08083d272940" title="Default initialization.">fsqmat</a> ( <span class="keyword">const</span> vec &d ):<a class="code" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a>(d.length()){<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a>=diag(d);};132 <a name="l00141"></a><a class="code" href="classfsqmat.html#9e19a5e26083f4a493b6fad38cc40fab">00141</a> <a class="code" href="classfsqmat.html#9e19a5e26083f4a493b6fad38cc40fab" title="Constructor.">fsqmat</a> ( <span class="keyword">const</span> <a class="code" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> &<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a>, <span class="keyword">const</span> ivec &perm ):<a class="code" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a>(M.<a class="code" href="classsqmat.html#071e80ced9cc3b8cbb360fa7462eb646" title="Reimplementing common functions of mat: cols().">rows</a>()){it_error(<span class="stringliteral">"not implemneted"</span>);}; 133 <a name="l00143"></a><a class="code" href="classfsqmat.html#c01f3e9bb590f2a2921369d672f3ce1e">00143</a> <a class="code" href="classfsqmat.html#c01f3e9bb590f2a2921369d672f3ce1e" title="Constructor.">fsqmat</a> ( <span class="keyword">const</span> vec &d ):<a class="code" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a>(d.length()){<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a>=diag(d);}; 128 134 <a name="l00144"></a>00144 129 135 <a name="l00146"></a><a class="code" href="classfsqmat.html#2a8f104e4befbc2aa90d8b11edfedb2e">00146</a> <span class="keyword">virtual</span> <a class="code" href="classfsqmat.html#2a8f104e4befbc2aa90d8b11edfedb2e" title="Destructor for future use;.">~fsqmat</a>(){}; … … 141 147 <a name="l00165"></a><a class="code" href="classfsqmat.html#922f8190c13987cbcdb33ec2bf5cf105">00165</a> <span class="keywordtype">void</span> <a class="code" href="classfsqmat.html#922f8190c13987cbcdb33ec2bf5cf105" title="Access functions.">setD</a> (<span class="keyword">const</span> vec &nD){<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a>=diag(nD);} 142 148 <a name="l00167"></a><a class="code" href="classfsqmat.html#bcf837b2956745e8986044f5600dbd6e">00167</a> vec <a class="code" href="classfsqmat.html#bcf837b2956745e8986044f5600dbd6e" title="Access functions.">getD</a> (){<span class="keywordflow">return</span> diag(<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a>);} 143 <a name="l00169"></a><a class="code" href="classfsqmat.html#03a8f49eb4d38a054ecc522be59cd2ad">00169</a> <span class="keywordtype">void</span> <a class="code" href="classfsqmat.html# 922f8190c13987cbcdb33ec2bf5cf105" title="Access functions.">setD</a> (<span class="keyword">const</span> vec &nD, <span class="keywordtype">int</span> i){<span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=i;j<nD.length();j++){<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a>(j,j)=nD(j-i);}} <span class="comment">//Fixme can be more general</span>149 <a name="l00169"></a><a class="code" href="classfsqmat.html#03a8f49eb4d38a054ecc522be59cd2ad">00169</a> <span class="keywordtype">void</span> <a class="code" href="classfsqmat.html#03a8f49eb4d38a054ecc522be59cd2ad" title="Access functions.">setD</a> (<span class="keyword">const</span> vec &nD, <span class="keywordtype">int</span> i){<span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=i;j<nD.length();j++){<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a>(j,j)=nD(j-i);}} <span class="comment">//Fixme can be more general</span> 144 150 <a name="l00170"></a>00170 145 151 <a name="l00171"></a>00171 … … 157 163 <a name="l00193"></a>00193 <a class="code" href="classldmat.html#a12dda6f529580b0377cc45226b43303" title="Default constructor.">ldmat</a> ( <span class="keyword">const</span> mat &<a class="code" href="classldmat.html#f74a64b99fe58a75ebd37bb679e121ea" title="Lower-triangular matrix .">L</a>, <span class="keyword">const</span> vec &<a class="code" href="classldmat.html#4cce04824539c4a8d062d9a36d6e014e" title="Positive vector .">D</a> ); 158 164 <a name="l00195"></a>00195 <a class="code" href="classldmat.html#a12dda6f529580b0377cc45226b43303" title="Default constructor.">ldmat</a> (<span class="keyword">const</span> mat &V ); 159 <a name="l00197"></a><a class="code" href="classldmat.html#8e88c818f9605bc726e52c4136c71cc5">00197</a> <a class="code" href="classldmat.html# a12dda6f529580b0377cc45226b43303" title="Default constructor.">ldmat</a> (<span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> &V0, <span class="keyword">const</span> ivec &perm):<a class="code" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a>(V0.<a class="code" href="group__math.html#g96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>()){ <a class="code" href="classldmat.html#f291faa073e7bc8dfafc7ae93daa2506" title="Transforms general into pure .">ldform</a>(V0.<a class="code" href="classldmat.html#f74a64b99fe58a75ebd37bb679e121ea" title="Lower-triangular matrix .">L</a>.get_cols(perm), V0.<a class="code" href="classldmat.html#4cce04824539c4a8d062d9a36d6e014e" title="Positive vector .">D</a>);};165 <a name="l00197"></a><a class="code" href="classldmat.html#8e88c818f9605bc726e52c4136c71cc5">00197</a> <a class="code" href="classldmat.html#8e88c818f9605bc726e52c4136c71cc5" title="Construct by restructuring of V0 accordint to permutation vector perm.">ldmat</a> (<span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> &V0, <span class="keyword">const</span> ivec &perm):<a class="code" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a>(V0.<a class="code" href="group__math.html#g96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>()){ <a class="code" href="classldmat.html#f291faa073e7bc8dfafc7ae93daa2506" title="Transforms general into pure .">ldform</a>(V0.<a class="code" href="classldmat.html#f74a64b99fe58a75ebd37bb679e121ea" title="Lower-triangular matrix .">L</a>.get_cols(perm), V0.<a class="code" href="classldmat.html#4cce04824539c4a8d062d9a36d6e014e" title="Positive vector .">D</a>);}; 160 166 <a name="l00199"></a>00199 <a class="code" href="classldmat.html#a12dda6f529580b0377cc45226b43303" title="Default constructor.">ldmat</a> ( vec D0 ); 161 167 <a name="l00201"></a>00201 <a class="code" href="classldmat.html#a12dda6f529580b0377cc45226b43303" title="Default constructor.">ldmat</a> (); … … 190 196 <a name="l00250"></a>00250 191 197 <a name="l00252"></a><a class="code" href="classldmat.html#0884a613b94fde61bfc84288e73ce57f">00252</a> <span class="keywordtype">void</span> <a class="code" href="classldmat.html#0884a613b94fde61bfc84288e73ce57f" title="Access functions.">setD</a> (<span class="keyword">const</span> vec &nD){D=nD;} 192 <a name="l00254"></a><a class="code" href="classldmat.html#7619922b4de18830ce5351c6b5667e60">00254</a> <span class="keywordtype">void</span> <a class="code" href="classldmat.html# 0884a613b94fde61bfc84288e73ce57f" title="Access functions.">setD</a> (<span class="keyword">const</span> vec &nD, <span class="keywordtype">int</span> i){D.replace_mid(i,nD);} <span class="comment">//Fixme can be more general</span>198 <a name="l00254"></a><a class="code" href="classldmat.html#7619922b4de18830ce5351c6b5667e60">00254</a> <span class="keywordtype">void</span> <a class="code" href="classldmat.html#7619922b4de18830ce5351c6b5667e60" title="Access functions.">setD</a> (<span class="keyword">const</span> vec &nD, <span class="keywordtype">int</span> i){D.replace_mid(i,nD);} <span class="comment">//Fixme can be more general</span> 193 199 <a name="l00256"></a><a class="code" href="classldmat.html#32ff66296627ff5341d7c0b973249614">00256</a> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classldmat.html#32ff66296627ff5341d7c0b973249614" title="Access functions.">setL</a> (<span class="keyword">const</span> vec &nL){L=nL;} 194 200 <a name="l00257"></a>00257 … … 215 221 <a name="l00293"></a>00293 <span class="preprocessor">#endif // DC_H</span> 216 222 </pre></div></div> 217 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 4 18:50:102009 for mixpp by 223 <hr size="1"><address style="text-align: right;"><small>Generated on Fri Mar 6 15:01:36 2009 for mixpp by 218 224 <a href="http://www.doxygen.org/index.html"> 219 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5. 6</small></address>225 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> 220 226 </body> 221 227 </html>