Changeset 621 for library/doc/html/square__mat_8h_source.html
- Timestamp:
- 09/16/09 22:52:42 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/square__mat_8h_source.html
r617 r621 85 85 <a name="l00036"></a><a class="code" href="classbdm_1_1sqmat.html">00036</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1sqmat.html" title="Abstract class for representation of double symmetric matrices in square-root form...">sqmat</a> { 86 86 <a name="l00037"></a>00037 <span class="keyword">public</span>: 87 <a name="l00045"></a> 00045 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1sqmat.html#acb3b3eef10b0c1f41ead717d3ad40ec5">opupdt</a> ( <span class="keyword">const</span> vec &v, <span class="keywordtype">double</span> w ) = 0;87 <a name="l00045"></a><a class="code" href="classbdm_1_1sqmat.html#a12298b1cc5a6f35876291e876b0e2993">00045</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1sqmat.html#a12298b1cc5a6f35876291e876b0e2993">opupdt</a> ( <span class="keyword">const</span> vec &v, <span class="keywordtype">double</span> w ) { <a class="code" href="bdmerror_8h.html#a7c43f3a72afe68ab0c85663a1bb3521a" title="Unconditionally throw std::runtime_error.">bdm_error</a>(<span class="stringliteral">"not implemented"</span>); }; 88 88 <a name="l00046"></a>00046 89 <a name="l00050"></a> 00050 <span class="keyword">virtual</span> mat <a class="code" href="classbdm_1_1sqmat.html#aee9c751c4b506c29dc65c2b61487e1ad" title="Conversion to full matrix.">to_mat</a>() <span class="keyword">const</span> = 0;89 <a name="l00050"></a><a class="code" href="classbdm_1_1sqmat.html#a68888112cf70681c1c7a0231a631dc76">00050</a> <span class="keyword">virtual</span> mat <a class="code" href="classbdm_1_1sqmat.html#a68888112cf70681c1c7a0231a631dc76" title="Conversion to full matrix.">to_mat</a>()<span class="keyword"> const </span>{ <a class="code" href="bdmerror_8h.html#a7c43f3a72afe68ab0c85663a1bb3521a" title="Unconditionally throw std::runtime_error.">bdm_error</a>(<span class="stringliteral">"not implemented"</span>); <span class="keywordflow">return</span> mat(0,0); } 90 90 <a name="l00051"></a>00051 91 <a name="l00055"></a> 00055 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1sqmat.html#a742581db1f8ce9602ec1c3e6373e499c" title="Inplace symmetric multiplication by a SQUARE matrix , i.e. .">mult_sym</a> ( <span class="keyword">const</span> mat &C ) = 0;91 <a name="l00055"></a><a class="code" href="classbdm_1_1sqmat.html#af8b513b6ac0e54d6fe47afda8b254b29">00055</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1sqmat.html#af8b513b6ac0e54d6fe47afda8b254b29" title="Inplace symmetric multiplication by a SQUARE matrix , i.e. .">mult_sym</a> ( <span class="keyword">const</span> mat &C ) { <a class="code" href="bdmerror_8h.html#a7c43f3a72afe68ab0c85663a1bb3521a" title="Unconditionally throw std::runtime_error.">bdm_error</a>(<span class="stringliteral">"not implemented"</span>); }; 92 92 <a name="l00056"></a>00056 93 <a name="l00060"></a> 00060 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1sqmat.html#a2db6f35ac14e6d1d905b4100e4c13743" title="Inplace symmetric multiplication by a SQUARE transpose of matrix , i.e. .">mult_sym_t</a> ( <span class="keyword">const</span> mat &C ) = 0;93 <a name="l00060"></a><a class="code" href="classbdm_1_1sqmat.html#aba45b96855264178ab67648bbc7cead5">00060</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1sqmat.html#aba45b96855264178ab67648bbc7cead5" title="Inplace symmetric multiplication by a SQUARE transpose of matrix , i.e. .">mult_sym_t</a> ( <span class="keyword">const</span> mat &C ) { <a class="code" href="bdmerror_8h.html#a7c43f3a72afe68ab0c85663a1bb3521a" title="Unconditionally throw std::runtime_error.">bdm_error</a>(<span class="stringliteral">"not implemented"</span>); } 94 94 <a name="l00061"></a>00061 95 95 <a name="l00062"></a>00062 96 <a name="l00067"></a> 00067 <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1sqmat.html#a121b108a818c0388a46866ad34ae9242" title="Logarithm of a determinant.">logdet</a>() <span class="keyword">const</span> = 0;96 <a name="l00067"></a><a class="code" href="classbdm_1_1sqmat.html#ae770665dd7362ffd0f2043642f9958d3">00067</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1sqmat.html#ae770665dd7362ffd0f2043642f9958d3" title="Logarithm of a determinant.">logdet</a>()<span class="keyword"> const </span>{ <a class="code" href="bdmerror_8h.html#a7c43f3a72afe68ab0c85663a1bb3521a" title="Unconditionally throw std::runtime_error.">bdm_error</a>(<span class="stringliteral">"not implemented"</span>); <span class="keywordflow">return</span> 0;}; 97 97 <a name="l00068"></a>00068 98 <a name="l00074"></a> 00074 <span class="keyword">virtual</span> vec <a class="code" href="classbdm_1_1sqmat.html#a608bfff59854833f1acfccdbd346832a" title="Multiplies square root of by vector .">sqrt_mult</a> ( <span class="keyword">const</span> vec &v ) <span class="keyword">const</span> = 0;98 <a name="l00074"></a><a class="code" href="classbdm_1_1sqmat.html#abcacd85ec5d128ebbb663ae4433c75b3">00074</a> <span class="keyword">virtual</span> vec <a class="code" href="classbdm_1_1sqmat.html#abcacd85ec5d128ebbb663ae4433c75b3" title="Multiplies square root of by vector .">sqrt_mult</a> ( <span class="keyword">const</span> vec &v )<span class="keyword"> const </span>{ <a class="code" href="bdmerror_8h.html#a7c43f3a72afe68ab0c85663a1bb3521a" title="Unconditionally throw std::runtime_error.">bdm_error</a>(<span class="stringliteral">"not implemented"</span>); <span class="keywordflow">return</span> vec(0); }; 99 99 <a name="l00075"></a>00075 100 <a name="l00080"></a> 00080 <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1sqmat.html#ac2b7450ba7cf9068ab332f8abdf065f7" title="Evaluates quadratic form ;.">qform</a> ( <span class="keyword">const</span> vec &v ) <span class="keyword">const</span> = 0;100 <a name="l00080"></a><a class="code" href="classbdm_1_1sqmat.html#a0fad0f3844a0bbbf5b5b68c43fea0d12">00080</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1sqmat.html#a0fad0f3844a0bbbf5b5b68c43fea0d12" title="Evaluates quadratic form ;.">qform</a> ( <span class="keyword">const</span> vec &v )<span class="keyword"> const </span>{ <a class="code" href="bdmerror_8h.html#a7c43f3a72afe68ab0c85663a1bb3521a" title="Unconditionally throw std::runtime_error.">bdm_error</a>(<span class="stringliteral">"not implemented"</span>); <span class="keywordflow">return</span> 0; }; 101 101 <a name="l00081"></a>00081 102 <a name="l00086"></a> 00086 <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1sqmat.html#a5e5e62419aa9ab15556dd49e5a9ad6ed" title="Evaluates quadratic form ;.">invqform</a> ( <span class="keyword">const</span> vec &v ) <span class="keyword">const</span> = 0;102 <a name="l00086"></a><a class="code" href="classbdm_1_1sqmat.html#a022d2e2c128f3024b6f8c4bcf28dcfdd">00086</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1sqmat.html#a022d2e2c128f3024b6f8c4bcf28dcfdd" title="Evaluates quadratic form ;.">invqform</a> ( <span class="keyword">const</span> vec &v )<span class="keyword"> const </span>{ <a class="code" href="bdmerror_8h.html#a7c43f3a72afe68ab0c85663a1bb3521a" title="Unconditionally throw std::runtime_error.">bdm_error</a>(<span class="stringliteral">"not implemented"</span>); <span class="keywordflow">return</span> 0; }; 103 103 <a name="l00087"></a>00087 104 104 <a name="l00088"></a>00088 <span class="comment">// //! easy version of the</span> 105 105 <a name="l00089"></a>00089 <span class="comment">// sqmat inv();</span> 106 106 <a name="l00090"></a>00090 107 <a name="l00092"></a> 00092 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1sqmat.html#ab24649cb221296e633d658c8aba2c9d8" title="Clearing matrix so that it corresponds to zeros.">clear</a>() = 0;107 <a name="l00092"></a><a class="code" href="classbdm_1_1sqmat.html#a9d2ab703ff24a6ece1c10b8e24015e72">00092</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1sqmat.html#a9d2ab703ff24a6ece1c10b8e24015e72" title="Clearing matrix so that it corresponds to zeros.">clear</a>() { <a class="code" href="bdmerror_8h.html#a7c43f3a72afe68ab0c85663a1bb3521a" title="Unconditionally throw std::runtime_error.">bdm_error</a>(<span class="stringliteral">"not implemented"</span>); }; 108 108 <a name="l00093"></a>00093 109 109 <a name="l00095"></a><a class="code" href="classbdm_1_1sqmat.html#a445ef762cf5d2d6cfdf53c72942363cf">00095</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1sqmat.html#a445ef762cf5d2d6cfdf53c72942363cf" title="Reimplementing common functions of mat: cols().">cols</a>()<span class="keyword"> const </span>{ … … 282 282 <a name="l00347"></a>00347 <span class="preprocessor">#endif // DC_H</span> 283 283 </pre></div></div> 284 <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 15 23:42:472009 for mixpp by 284 <hr size="1"/><address style="text-align: right;"><small>Generated on Wed Sep 16 22:33:31 2009 for mixpp by 285 285 <a href="http://www.doxygen.org/index.html"> 286 286 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>