Index: library/doc/html/chmat_8h-source.html
===================================================================
--- library/doc/html/chmat_8h-source.html (revision 538)
+++ library/doc/html/chmat_8h-source.html (revision 590)
@@ -66,5 +66,5 @@
 <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define CHMAT_H</span>
 <a name="l00015"></a>00015 <span class="preprocessor"></span>
-<a name="l00016"></a>00016 
+<a name="l00016"></a>00016 <span class="preprocessor">#include "../bdmerror.h"</span>
 <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="square__mat_8h.html" title="Matrices in decomposed forms (LDL&amp;#39;, LU, UDU&amp;#39;, etc).">square_mat.h</a>"</span>
 <a name="l00018"></a>00018 
@@ -89,9 +89,9 @@
 <a name="l00043"></a>00043         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1chmat.html#bc753cb54aa8946ce41d95e82fc148b5" title="Clearing matrix so that it corresponds to zeros.">clear</a>();
 <a name="l00045"></a><a class="code" href="classbdm_1_1chmat.html#6b3d5b772f791fc7c5df544a418278c7">00045</a>         <span class="keywordtype">void</span> <span class="keyword">add</span> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp;A2, <span class="keywordtype">double</span> w = 1.0 ) {
-<a name="l00046"></a>00046                 it_assert_debug ( <a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a> == A2.dim, <span class="stringliteral">"Matrices of unequal dimension"</span> );
+<a name="l00046"></a>00046                 <a class="code" href="bdmerror_8h.html#89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( <a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a> == A2.dim, <span class="stringliteral">"Matrices of unequal dimension"</span> );
 <a name="l00047"></a>00047                 mat pre = concat_vertical ( <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a>, sqrt ( w ) * A2.Ch );
 <a name="l00048"></a>00048                 mat post = zeros ( pre.rows(), pre.cols() );
 <a name="l00049"></a>00049                 <span class="keywordflow">if</span> ( !qr ( pre, post ) ) {
-<a name="l00050"></a>00050                         it_warning ( <span class="stringliteral">"Unstable QR in chmat add"</span> );
+<a name="l00050"></a>00050                         <a class="code" href="bdmerror_8h.html#59c5a63b3878ebcd6cc952fc2b47191c" title="Display a warning message.">bdm_warning</a> ( <span class="stringliteral">"Unstable QR in chmat add"</span> );
 <a name="l00051"></a>00051                 }
 <a name="l00052"></a>00052                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> = post ( 0, <a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a> - 1, 0, <a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a> - 1 );
@@ -109,64 +109,68 @@
 <a name="l00070"></a><a class="code" href="classbdm_1_1chmat.html#57513fca80f91194faf90297f2ab2b24">00070</a>         <a class="code" href="classbdm_1_1chmat.html#57513fca80f91194faf90297f2ab2b24" title="Copy constructor.">chmat</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp;Ch0 ) : <a class="code" href="classbdm_1_1sqmat.html" title="Abstract class for representation of double symmetric matrices in square-root form...">sqmat</a> ( Ch0.<a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a> ), <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> ( Ch0.<a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a>, Ch0.<a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a> ) {
 <a name="l00071"></a>00071                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> = Ch0.<a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a>;
-<a name="l00072"></a>00072         };
-<a name="l00074"></a><a class="code" href="classbdm_1_1chmat.html#796ee52e1343bc53d278f17c55bb1cc7">00074</a>         <a class="code" href="classbdm_1_1chmat.html#796ee52e1343bc53d278f17c55bb1cc7" title="Default constructor (m3k:cholform).">chmat</a> ( <span class="keyword">const</span> mat &amp;M ) : <a class="code" href="classbdm_1_1sqmat.html" title="Abstract class for representation of double symmetric matrices in square-root form...">sqmat</a> ( M.<a class="code" href="classbdm_1_1sqmat.html#73e639221343dcce76c3305524d67590" title="Reimplementing common functions of mat: rows().">rows</a>() ), <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> ( M.<a class="code" href="classbdm_1_1sqmat.html#73e639221343dcce76c3305524d67590" title="Reimplementing common functions of mat: rows().">rows</a>(), M.<a class="code" href="classbdm_1_1sqmat.html#445ef762cf5d2d6cfdf53c72942363cf" title="Reimplementing common functions of mat: cols().">cols</a>() ) {
-<a name="l00075"></a>00075                 mat Q;
-<a name="l00076"></a>00076                 it_assert_debug ( M.rows() == M.cols(), <span class="stringliteral">"chmat:: input matrix must be square!"</span> );
-<a name="l00077"></a>00077                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> = chol ( M );
-<a name="l00078"></a>00078         };
-<a name="l00080"></a><a class="code" href="classbdm_1_1chmat.html#3c4e675e7efd91f78faa3dcf23aec153">00080</a>         <a class="code" href="classbdm_1_1chmat.html#3c4e675e7efd91f78faa3dcf23aec153" title="Constructor.">chmat</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp;M, <span class="keyword">const</span> ivec &amp;perm ) : <a class="code" href="classbdm_1_1sqmat.html" title="Abstract class for representation of double symmetric matrices in square-root form...">sqmat</a> ( M.<a class="code" href="classbdm_1_1sqmat.html#73e639221343dcce76c3305524d67590" title="Reimplementing common functions of mat: rows().">rows</a>() ) {
-<a name="l00081"></a>00081                 it_error ( <span class="stringliteral">"not implemneted"</span> );
-<a name="l00082"></a>00082         };
-<a name="l00084"></a><a class="code" href="classbdm_1_1chmat.html#17daa8c5c5914bd3194cb3053c5793a5">00084</a>         mat &amp; <a class="code" href="classbdm_1_1chmat.html#17daa8c5c5914bd3194cb3053c5793a5" title="Access function.">_Ch</a>() {
-<a name="l00085"></a>00085                 <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a>;
-<a name="l00086"></a>00086         }
-<a name="l00088"></a><a class="code" href="classbdm_1_1chmat.html#3e9e137c1a6f46d13c2b6790cfddaa92">00088</a>         <span class="keyword">const</span> mat &amp; <a class="code" href="classbdm_1_1chmat.html#3e9e137c1a6f46d13c2b6790cfddaa92" title="Access function.">_Ch</a>()<span class="keyword"> const </span>{
-<a name="l00089"></a>00089                 <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a>;
-<a name="l00090"></a>00090         }
-<a name="l00092"></a><a class="code" href="classbdm_1_1chmat.html#b192df5b54b173ba9bc6922ee9983bc9">00092</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1chmat.html#b192df5b54b173ba9bc6922ee9983bc9" title="Access functions.">setD</a> ( <span class="keyword">const</span> vec &amp;nD ) {
-<a name="l00093"></a>00093                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> = diag ( sqrt ( nD ) );
-<a name="l00094"></a>00094         }
-<a name="l00096"></a><a class="code" href="classbdm_1_1chmat.html#b8fd18754b0e5e0463f818cd16c710c8">00096</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1chmat.html#b8fd18754b0e5e0463f818cd16c710c8" title="Access functions.">setCh</a> ( <span class="keyword">const</span> vec &amp;chQ ) {
-<a name="l00097"></a>00097                 it_assert_debug ( chQ.length() == <a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a>*<a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a>, <span class="stringliteral">""</span> );
-<a name="l00098"></a>00098                 copy_vector ( dim*dim, chQ._data(), <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a>._data() );
-<a name="l00099"></a>00099         }
-<a name="l00101"></a><a class="code" href="classbdm_1_1chmat.html#18f4b97bde650086fe5e3d9461a13514">00101</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1chmat.html#18f4b97bde650086fe5e3d9461a13514" title="Access functions.">setD</a> ( <span class="keyword">const</span> vec &amp;nD, <span class="keywordtype">int</span> i ) {
-<a name="l00102"></a>00102                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> j = i; j &lt; nD.length(); j++ ) {
-<a name="l00103"></a>00103                         <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> ( j, j ) = sqrt ( nD ( j - i ) );    <span class="comment">//Fixme can be more general</span>
-<a name="l00104"></a>00104                 }
+<a name="l00072"></a>00072         }
+<a name="l00073"></a>00073 
+<a name="l00075"></a><a class="code" href="classbdm_1_1chmat.html#796ee52e1343bc53d278f17c55bb1cc7">00075</a>         <a class="code" href="classbdm_1_1chmat.html#796ee52e1343bc53d278f17c55bb1cc7" title="Default constructor (m3k:cholform).">chmat</a> ( <span class="keyword">const</span> mat &amp;M ) : <a class="code" href="classbdm_1_1sqmat.html" title="Abstract class for representation of double symmetric matrices in square-root form...">sqmat</a> ( M.<a class="code" href="classbdm_1_1sqmat.html#73e639221343dcce76c3305524d67590" title="Reimplementing common functions of mat: rows().">rows</a>() ), <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> ( M.<a class="code" href="classbdm_1_1sqmat.html#73e639221343dcce76c3305524d67590" title="Reimplementing common functions of mat: rows().">rows</a>(), M.<a class="code" href="classbdm_1_1sqmat.html#445ef762cf5d2d6cfdf53c72942363cf" title="Reimplementing common functions of mat: cols().">cols</a>() ) {
+<a name="l00076"></a>00076                 mat Q;
+<a name="l00077"></a>00077                 <a class="code" href="bdmerror_8h.html#89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( M.rows() == M.cols(), <span class="stringliteral">"chmat:: input matrix must be square!"</span> );
+<a name="l00078"></a>00078                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> = chol ( M );
+<a name="l00079"></a>00079         }
+<a name="l00080"></a>00080 
+<a name="l00085"></a><a class="code" href="classbdm_1_1chmat.html#3c4e675e7efd91f78faa3dcf23aec153">00085</a>         <a class="code" href="classbdm_1_1chmat.html#3c4e675e7efd91f78faa3dcf23aec153">chmat</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp;M, <span class="keyword">const</span> ivec &amp;perm ) {
+<a name="l00086"></a>00086                 <a class="code" href="bdmerror_8h.html#7c43f3a72afe68ab0c85663a1bb3521a" title="Unconditionally throw std::runtime_error.">bdm_error</a> ( <span class="stringliteral">"not implemented"</span> );
+<a name="l00087"></a>00087         }
+<a name="l00088"></a>00088 
+<a name="l00090"></a><a class="code" href="classbdm_1_1chmat.html#17daa8c5c5914bd3194cb3053c5793a5">00090</a>         mat &amp; <a class="code" href="classbdm_1_1chmat.html#17daa8c5c5914bd3194cb3053c5793a5" title="Access function.">_Ch</a>() {
+<a name="l00091"></a>00091                 <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a>;
+<a name="l00092"></a>00092         }
+<a name="l00094"></a><a class="code" href="classbdm_1_1chmat.html#3e9e137c1a6f46d13c2b6790cfddaa92">00094</a>         <span class="keyword">const</span> mat &amp; <a class="code" href="classbdm_1_1chmat.html#3e9e137c1a6f46d13c2b6790cfddaa92" title="Access function.">_Ch</a>()<span class="keyword"> const </span>{
+<a name="l00095"></a>00095                 <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a>;
+<a name="l00096"></a>00096         }
+<a name="l00098"></a><a class="code" href="classbdm_1_1chmat.html#b192df5b54b173ba9bc6922ee9983bc9">00098</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1chmat.html#b192df5b54b173ba9bc6922ee9983bc9" title="Access functions.">setD</a> ( <span class="keyword">const</span> vec &amp;nD ) {
+<a name="l00099"></a>00099                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> = diag ( sqrt ( nD ) );
+<a name="l00100"></a>00100         }
+<a name="l00102"></a><a class="code" href="classbdm_1_1chmat.html#b8fd18754b0e5e0463f818cd16c710c8">00102</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1chmat.html#b8fd18754b0e5e0463f818cd16c710c8" title="Access functions.">setCh</a> ( <span class="keyword">const</span> vec &amp;chQ ) {
+<a name="l00103"></a>00103                 <a class="code" href="bdmerror_8h.html#89a0f906b242b79c5d3d342291b2cab4" title="Throw std::runtime_exception if t is not true and NDEBUG is not defined.">bdm_assert_debug</a> ( chQ.length() == <a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a> * <a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a>, <span class="stringliteral">"wrong length"</span> );
+<a name="l00104"></a>00104                 copy_vector ( dim*dim, chQ._data(), <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a>._data() );
 <a name="l00105"></a>00105         }
 <a name="l00106"></a>00106 
-<a name="l00108"></a>00108         <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>&amp; <a class="code" href="classbdm_1_1chmat.html#029a0997afc656fde0c73bbf7724aca9" title="Operators.">operator += </a>( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp;A2 );
-<a name="l00109"></a>00109         <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>&amp; <a class="code" href="classbdm_1_1chmat.html#f1d0180fb795d38b8c352df2686ec5ba" title="mapping of negative add operation to operators">operator -= </a>( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp;A2 );
-<a name="l00110"></a>00110         <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>&amp; operator * ( <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;d ) {
-<a name="l00111"></a>00111                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a>*sqrt ( d );
-<a name="l00112"></a>00112                 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
-<a name="l00113"></a>00113         };
-<a name="l00114"></a>00114         chmat&amp; operator = ( <span class="keyword">const</span> chmat &amp;A2 ) {
-<a name="l00115"></a>00115                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> = A2.Ch;
-<a name="l00116"></a>00116                 <a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a> = A2.dim;
-<a name="l00117"></a>00117                 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
-<a name="l00118"></a>00118         }
-<a name="l00119"></a>00119         chmat&amp; operator *= ( <span class="keywordtype">double</span> x ) {
-<a name="l00120"></a>00120                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> *= sqrt ( x );
-<a name="l00121"></a>00121                 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
-<a name="l00122"></a>00122         };
-<a name="l00123"></a>00123 };
-<a name="l00124"></a>00124 
-<a name="l00125"></a>00125 
-<a name="l00128"></a><a class="code" href="classbdm_1_1chmat.html#029a0997afc656fde0c73bbf7724aca9">00128</a> <span class="keyword">inline</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>&amp; <a class="code" href="classbdm_1_1chmat.html#029a0997afc656fde0c73bbf7724aca9" title="Operators.">chmat::operator += </a>( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp; A2 )  {
-<a name="l00129"></a>00129         this-&gt;<span class="keyword">add</span> ( A2 );
-<a name="l00130"></a>00130         <span class="keywordflow">return</span> *<span class="keyword">this</span>;
-<a name="l00131"></a>00131 }
-<a name="l00133"></a><a class="code" href="classbdm_1_1chmat.html#f1d0180fb795d38b8c352df2686ec5ba">00133</a> <span class="keyword">inline</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>&amp; <a class="code" href="classbdm_1_1chmat.html#f1d0180fb795d38b8c352df2686ec5ba" title="mapping of negative add operation to operators">chmat::operator -= </a>( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp; A2 )  {
-<a name="l00134"></a>00134         this-&gt;<span class="keyword">add</span> ( A2, -1.0 );
-<a name="l00135"></a>00135         <span class="keywordflow">return</span> *<span class="keyword">this</span>;
-<a name="l00136"></a>00136 }
-<a name="l00137"></a>00137 
+<a name="l00108"></a><a class="code" href="classbdm_1_1chmat.html#18f4b97bde650086fe5e3d9461a13514">00108</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1chmat.html#18f4b97bde650086fe5e3d9461a13514" title="Access functions.">setD</a> ( <span class="keyword">const</span> vec &amp;nD, <span class="keywordtype">int</span> i ) {
+<a name="l00109"></a>00109                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> j = i; j &lt; nD.length(); j++ ) {
+<a name="l00110"></a>00110                         <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> ( j, j ) = sqrt ( nD ( j - i ) );    <span class="comment">//Fixme can be more general</span>
+<a name="l00111"></a>00111                 }
+<a name="l00112"></a>00112         }
+<a name="l00113"></a>00113 
+<a name="l00115"></a>00115         <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>&amp; <a class="code" href="classbdm_1_1chmat.html#029a0997afc656fde0c73bbf7724aca9" title="Operators.">operator += </a>( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp;A2 );
+<a name="l00116"></a>00116         <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>&amp; <a class="code" href="classbdm_1_1chmat.html#f1d0180fb795d38b8c352df2686ec5ba" title="mapping of negative add operation to operators">operator -= </a>( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp;A2 );
+<a name="l00117"></a>00117         <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>&amp; operator * ( <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;d ) {
+<a name="l00118"></a>00118                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a>*sqrt ( d );
+<a name="l00119"></a>00119                 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+<a name="l00120"></a>00120         };
+<a name="l00121"></a>00121         chmat&amp; operator = ( <span class="keyword">const</span> chmat &amp;A2 ) {
+<a name="l00122"></a>00122                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> = A2.Ch;
+<a name="l00123"></a>00123                 <a class="code" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f" title="dimension of the square matrix">dim</a> = A2.dim;
+<a name="l00124"></a>00124                 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+<a name="l00125"></a>00125         }
+<a name="l00126"></a>00126         chmat&amp; operator *= ( <span class="keywordtype">double</span> x ) {
+<a name="l00127"></a>00127                 <a class="code" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223" title="Upper triangle of the cholesky matrix.">Ch</a> *= sqrt ( x );
+<a name="l00128"></a>00128                 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+<a name="l00129"></a>00129         };
+<a name="l00130"></a>00130 };
+<a name="l00131"></a>00131 
+<a name="l00132"></a>00132 
+<a name="l00135"></a><a class="code" href="classbdm_1_1chmat.html#029a0997afc656fde0c73bbf7724aca9">00135</a> <span class="keyword">inline</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>&amp; <a class="code" href="classbdm_1_1chmat.html#029a0997afc656fde0c73bbf7724aca9" title="Operators.">chmat::operator += </a>( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp; A2 )  {
+<a name="l00136"></a>00136         this-&gt;<span class="keyword">add</span> ( A2 );
+<a name="l00137"></a>00137         <span class="keywordflow">return</span> *<span class="keyword">this</span>;
 <a name="l00138"></a>00138 }
-<a name="l00139"></a>00139 
-<a name="l00140"></a>00140 <span class="preprocessor">#endif // CHMAT_H</span>
+<a name="l00140"></a><a class="code" href="classbdm_1_1chmat.html#f1d0180fb795d38b8c352df2686ec5ba">00140</a> <span class="keyword">inline</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>&amp; <a class="code" href="classbdm_1_1chmat.html#f1d0180fb795d38b8c352df2686ec5ba" title="mapping of negative add operation to operators">chmat::operator -= </a>( <span class="keyword">const</span> <a class="code" href="classbdm_1_1chmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp; A2 )  {
+<a name="l00141"></a>00141         this-&gt;<span class="keyword">add</span> ( A2, -1.0 );
+<a name="l00142"></a>00142         <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+<a name="l00143"></a>00143 }
+<a name="l00144"></a>00144 
+<a name="l00145"></a>00145 }
+<a name="l00146"></a>00146 
+<a name="l00147"></a>00147 <span class="preprocessor">#endif // CHMAT_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 16 17:58:18 2009 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 29 20:49:42 2009 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
