159 | | <a name="l00262"></a>00262 |
160 | | <a name="l00263"></a>00263 <span class="keyword">protected</span>: |
161 | | <a name="l00265"></a><a class="code" href="classldmat.html#4cce04824539c4a8d062d9a36d6e014e">00265</a> vec D; |
162 | | <a name="l00267"></a><a class="code" href="classldmat.html#f74a64b99fe58a75ebd37bb679e121ea">00267</a> mat L; |
163 | | <a name="l00268"></a>00268 |
164 | | <a name="l00269"></a>00269 }; |
| 159 | <a name="l00262"></a>00262 <span class="keyword">protected</span>: |
| 160 | <a name="l00264"></a><a class="code" href="classldmat.html#4cce04824539c4a8d062d9a36d6e014e">00264</a> vec D; |
| 161 | <a name="l00266"></a><a class="code" href="classldmat.html#f74a64b99fe58a75ebd37bb679e121ea">00266</a> mat L; |
| 162 | <a name="l00267"></a>00267 |
| 163 | <a name="l00268"></a>00268 }; |
| 164 | <a name="l00269"></a>00269 |
166 | | <a name="l00271"></a>00271 |
167 | | <a name="l00274"></a><a class="code" href="classldmat.html#ca445ee152a56043af946ea095b2d8f8">00274</a> <span class="keyword">inline</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a>& <a class="code" href="classldmat.html#ca445ee152a56043af946ea095b2d8f8" title="add another ldmat matrix">ldmat::operator += </a>( <span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a> &ldA ) {this-><span class="keyword">add</span> ( ldA );<span class="keywordflow">return</span> *<span class="keyword">this</span>;} |
168 | | <a name="l00276"></a><a class="code" href="classldmat.html#e3f4d2d85ab1ba384c852329aa31d0fb">00276</a> <span class="keyword">inline</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a>& <a class="code" href="classldmat.html#e3f4d2d85ab1ba384c852329aa31d0fb" title="subtract another ldmat matrix">ldmat::operator -= </a>( <span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a> &ldA ) {this-><span class="keyword">add</span> ( ldA,-1.0 );<span class="keywordflow">return</span> *<span class="keyword">this</span>;} |
169 | | <a name="l00278"></a><a class="code" href="classldmat.html#0fceb6b5b637cec89bb0a3d2e6be1306">00278</a> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classldmat.html#0fceb6b5b637cec89bb0a3d2e6be1306" title="access function">ldmat::cols</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classsqmat.html#0abed904bdc0882373ba9adba919689d" title="dimension of the square matrix">dim</a>;} |
170 | | <a name="l00280"></a><a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163">00280</a> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">ldmat::rows</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classsqmat.html#0abed904bdc0882373ba9adba919689d" title="dimension of the square matrix">dim</a>;} |
171 | | <a name="l00281"></a>00281 |
172 | | <a name="l00282"></a>00282 <span class="preprocessor">#endif // DC_H</span> |
| 166 | <a name="l00273"></a><a class="code" href="classldmat.html#ca445ee152a56043af946ea095b2d8f8">00273</a> <span class="keyword">inline</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a>& <a class="code" href="classldmat.html#ca445ee152a56043af946ea095b2d8f8" title="add another ldmat matrix">ldmat::operator += </a>( <span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a> &ldA ) {this-><span class="keyword">add</span> ( ldA );<span class="keywordflow">return</span> *<span class="keyword">this</span>;} |
| 167 | <a name="l00275"></a><a class="code" href="classldmat.html#e3f4d2d85ab1ba384c852329aa31d0fb">00275</a> <span class="keyword">inline</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a>& <a class="code" href="classldmat.html#e3f4d2d85ab1ba384c852329aa31d0fb" title="subtract another ldmat matrix">ldmat::operator -= </a>( <span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a> &ldA ) {this-><span class="keyword">add</span> ( ldA,-1.0 );<span class="keywordflow">return</span> *<span class="keyword">this</span>;} |
| 168 | <a name="l00277"></a><a class="code" href="classldmat.html#0fceb6b5b637cec89bb0a3d2e6be1306">00277</a> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classldmat.html#0fceb6b5b637cec89bb0a3d2e6be1306" title="access function">ldmat::cols</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classsqmat.html#0abed904bdc0882373ba9adba919689d" title="dimension of the square matrix">dim</a>;} |
| 169 | <a name="l00279"></a><a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163">00279</a> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">ldmat::rows</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classsqmat.html#0abed904bdc0882373ba9adba919689d" title="dimension of the square matrix">dim</a>;} |
| 170 | <a name="l00280"></a>00280 |
| 171 | <a name="l00281"></a>00281 <span class="preprocessor">#endif // DC_H</span> |