Show
Ignore:
Timestamp:
03/06/09 15:03:45 (16 years ago)
Author:
smidl
Message:

correction of ARX tutorial

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/libDC_8h-source.html

    r287 r290  
    22<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 
    33<title>mixpp: libDC.h Source File</title> 
     4<link href="tabs.css" rel="stylesheet" type="text/css"> 
    45<link href="doxygen.css" rel="stylesheet" type="text/css"> 
    5 <link href="tabs.css" rel="stylesheet" type="text/css"> 
    66</head><body> 
    7 <!-- Generated by Doxygen 1.5.6 --> 
     7<!-- Generated by Doxygen 1.5.8 --> 
    88<script type="text/javascript"> 
    99<!-- 
     
    5353      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li> 
    5454      <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> 
    5656      <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&nbsp;List</span></a></li> 
     62      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li> 
    5763    </ul> 
    5864  </div> 
     
    101107<a name="l00101"></a>00101  
    102108<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){}; 
    104110<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){}; 
    105111<a name="l00108"></a>00108         <span class="keyword">protected</span>: 
     
    124130<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> 
    125131<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 &amp;<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> &amp;<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a>, <span class="keyword">const</span> ivec &amp;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 &amp;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> &amp;<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a>, <span class="keyword">const</span> ivec &amp;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 &amp;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);}; 
    128134<a name="l00144"></a>00144  
    129135<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>(){}; 
     
    141147<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 &amp;nD){<a class="code" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453" title="Full matrix on which the operations are performed.">M</a>=diag(nD);} 
    142148<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 &amp;nD, <span class="keywordtype">int</span> i){<span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=i;j&lt;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 &amp;nD, <span class="keywordtype">int</span> i){<span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=i;j&lt;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> 
    144150<a name="l00170"></a>00170  
    145151<a name="l00171"></a>00171  
     
    157163<a name="l00193"></a>00193                 <a class="code" href="classldmat.html#a12dda6f529580b0377cc45226b43303" title="Default constructor.">ldmat</a> ( <span class="keyword">const</span> mat &amp;<a class="code" href="classldmat.html#f74a64b99fe58a75ebd37bb679e121ea" title="Lower-triangular matrix .">L</a>, <span class="keyword">const</span> vec &amp;<a class="code" href="classldmat.html#4cce04824539c4a8d062d9a36d6e014e" title="Positive vector .">D</a> ); 
    158164<a name="l00195"></a>00195                 <a class="code" href="classldmat.html#a12dda6f529580b0377cc45226b43303" title="Default constructor.">ldmat</a> (<span class="keyword">const</span> mat &amp;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> &amp;V0, <span class="keyword">const</span> ivec &amp;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> &amp;V0, <span class="keyword">const</span> ivec &amp;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>);}; 
    160166<a name="l00199"></a>00199                 <a class="code" href="classldmat.html#a12dda6f529580b0377cc45226b43303" title="Default constructor.">ldmat</a> ( vec D0 ); 
    161167<a name="l00201"></a>00201                 <a class="code" href="classldmat.html#a12dda6f529580b0377cc45226b43303" title="Default constructor.">ldmat</a> (); 
     
    190196<a name="l00250"></a>00250  
    191197<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 &amp;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 &amp;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 &amp;nD, <span class="keywordtype">int</span> i){D.replace_mid(i,nD);} <span class="comment">//Fixme can be more general</span> 
    193199<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 &amp;nL){L=nL;} 
    194200<a name="l00257"></a>00257  
     
    215221<a name="l00293"></a>00293 <span class="preprocessor">#endif // DC_H</span> 
    216222</pre></div></div> 
    217 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 4 18:50:10 2009 for mixpp by&nbsp; 
     223<hr size="1"><address style="text-align: right;"><small>Generated on Fri Mar 6 15:01:36 2009 for mixpp by&nbsp; 
    218224<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> 
    220226</body> 
    221227</html>