root/doc/html/classchmat.html @ 91

Revision 91, 21.9 kB (checked in by smidl, 17 years ago)

drobnosti a dokumentace

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: chmat Class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.5 -->
8<div class="navigation" id="top">
9  <div class="tabs">
10    <ul>
11      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
13      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
14      <li><a href="files.html"><span>Files</span></a></li>
15    </ul>
16  </div>
17  <div class="tabs">
18    <ul>
19      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
20      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
21      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22    </ul>
23  </div>
24</div>
25<div class="contents">
26<h1>chmat Class Reference</h1><!-- doxytag: class="chmat" --><!-- doxytag: inherits="sqmat" -->Symmetric matrix stored in square root decomposition using upper cholesky. 
27<a href="#_details">More...</a>
28<p>
29<code>#include &lt;<a class="el" href="chmat_8h-source.html">chmat.h</a>&gt;</code>
30<p>
31<div class="dynheader">
32Inheritance diagram for chmat:</div>
33<div class="dynsection">
34<p><center><img src="classchmat__inherit__graph.png" border="0" usemap="#chmat__inherit__map" alt="Inheritance graph"></center>
35<map name="chmat__inherit__map">
36<area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square&#45;root form..." alt="" coords="5,7,61,31"></map>
37<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
38<div class="dynheader">
39Collaboration diagram for chmat:</div>
40<div class="dynsection">
41<p><center><img src="classchmat__coll__graph.png" border="0" usemap="#chmat__coll__map" alt="Collaboration graph"></center>
42<map name="chmat__coll__map">
43<area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square&#45;root form..." alt="" coords="5,7,61,31"></map>
44<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
45
46<p>
47<a href="classchmat-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
48<tr><td></td></tr>
49<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
50<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#bbc2d98d7455b1f38828907d442836bf">opupdt</a> (const vec &amp;v, double w)</td></tr>
51
52<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a37e2c726e4fc3ad50b26ac2ca6c1452"></a><!-- doxytag: member="chmat::to_mat" ref="a37e2c726e4fc3ad50b26ac2ca6c1452" args="()" -->
53mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#a37e2c726e4fc3ad50b26ac2ca6c1452">to_mat</a> ()</td></tr>
54
55<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Conversion to full matrix. <br></td></tr>
56<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#66f509f92b0ccf020e2a2a32566e0777">mult_sym</a> (const mat &amp;C)</td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inplace symmetric multiplication by a SQUARE matrix <img class="formulaInl" alt="$C$" src="form_24.png">, i.e. <img class="formulaInl" alt="$V = C*V*C'$" src="form_25.png"><a href="#66f509f92b0ccf020e2a2a32566e0777"></a><br></td></tr>
59<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d558ab63475a2f2ebc0c0e149796dcc6"></a><!-- doxytag: member="chmat::mult_sym" ref="d558ab63475a2f2ebc0c0e149796dcc6" args="(const mat &amp;C, chmat &amp;U) const " -->
60void&nbsp;</td><td class="memItemRight" valign="bottom"><b>mult_sym</b> (const mat &amp;C, <a class="el" href="classchmat.html">chmat</a> &amp;U) const </td></tr>
61
62<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#07f50d1332b901eee962e8b1913102f7">mult_sym_t</a> (const mat &amp;C)</td></tr>
63
64<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inplace symmetric multiplication by a SQUARE transpose of matrix <img class="formulaInl" alt="$C$" src="form_24.png">, i.e. <img class="formulaInl" alt="$V = C'*V*C$" src="form_26.png"><a href="#07f50d1332b901eee962e8b1913102f7"></a><br></td></tr>
65<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31c3b985214a150b2a6b4be3b0fd40e3"></a><!-- doxytag: member="chmat::mult_sym_t" ref="31c3b985214a150b2a6b4be3b0fd40e3" args="(const mat &amp;C, chmat &amp;U) const " -->
66void&nbsp;</td><td class="memItemRight" valign="bottom"><b>mult_sym_t</b> (const mat &amp;C, <a class="el" href="classchmat.html">chmat</a> &amp;U) const </td></tr>
67
68<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b504ca818203b13e667cb3c503980382"></a><!-- doxytag: member="chmat::logdet" ref="b504ca818203b13e667cb3c503980382" args="() const " -->
69double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#b504ca818203b13e667cb3c503980382">logdet</a> () const </td></tr>
70
71<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Logarithm of a determinant. <br></td></tr>
72<tr><td class="memItemLeft" nowrap align="right" valign="top">vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#b22aa239dbaca33e3fb93b4f674d7051">sqrt_mult</a> (const vec &amp;v) const </td></tr>
73
74<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Multiplies square root of <img class="formulaInl" alt="$V$" src="form_27.png"> by vector <img class="formulaInl" alt="$x$" src="form_28.png"><a href="#b22aa239dbaca33e3fb93b4f674d7051"></a><br></td></tr>
75<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6807737c7ffdb7041256b51db7592248"></a><!-- doxytag: member="chmat::qform" ref="6807737c7ffdb7041256b51db7592248" args="(const vec &amp;v) const " -->
76double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#6807737c7ffdb7041256b51db7592248">qform</a> (const vec &amp;v) const </td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates quadratic form <img class="formulaInl" alt="$x= v'*V*v$" src="form_29.png">;. <br></td></tr>
79<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b49427cff186c62f5df3724e5d2c34b4"></a><!-- doxytag: member="chmat::invqform" ref="b49427cff186c62f5df3724e5d2c34b4" args="(const vec &amp;v) const " -->
80double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#b49427cff186c62f5df3724e5d2c34b4">invqform</a> (const vec &amp;v) const </td></tr>
81
82<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates quadratic form <img class="formulaInl" alt="$x= v'*inv(V)*v$" src="form_30.png">;. <br></td></tr>
83<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d0a995d312ecc11d3b43693f5e224ba9"></a><!-- doxytag: member="chmat::clear" ref="d0a995d312ecc11d3b43693f5e224ba9" args="()" -->
84void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#d0a995d312ecc11d3b43693f5e224ba9">clear</a> ()</td></tr>
85
86<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clearing matrix so that it corresponds to zeros. <br></td></tr>
87<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f3921e3e5e31337cdbda40a3a5467257"></a><!-- doxytag: member="chmat::add" ref="f3921e3e5e31337cdbda40a3a5467257" args="(const chmat &amp;A2, double w=1.0)" -->
88void&nbsp;</td><td class="memItemRight" valign="bottom"><b>add</b> (const <a class="el" href="classchmat.html">chmat</a> &amp;A2, double w=1.0)</td></tr>
89
90<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ce4e21a9012a4e98c1f0ed1ca5669bd"></a><!-- doxytag: member="chmat::inv" ref="5ce4e21a9012a4e98c1f0ed1ca5669bd" args="(chmat &amp;Inv) const " -->
91void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">inv</a> (<a class="el" href="classchmat.html">chmat</a> &amp;Inv) const </td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inversion in the same form, i.e. cholesky. <br></td></tr>
94<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba62fbf7cb8e065a4f3d24457824e89b"></a><!-- doxytag: member="chmat::~chmat" ref="ba62fbf7cb8e065a4f3d24457824e89b" args="()" -->
95virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#ba62fbf7cb8e065a4f3d24457824e89b">~chmat</a> ()</td></tr>
96
97<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor for future use;. <br></td></tr>
98<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fdd73b0c596161637fd25bdf2c670c39"></a><!-- doxytag: member="chmat::chmat" ref="fdd73b0c596161637fd25bdf2c670c39" args="(const int dim0)" -->
99&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#fdd73b0c596161637fd25bdf2c670c39">chmat</a> (const int dim0)</td></tr>
100
101<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr>
102<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4f0a94e81279295e60e72812130f9d4"></a><!-- doxytag: member="chmat::chmat" ref="d4f0a94e81279295e60e72812130f9d4" args="(const vec &amp;v)" -->
103&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#d4f0a94e81279295e60e72812130f9d4">chmat</a> (const vec &amp;v)</td></tr>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr>
106<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d92f3bd9a727b8c88a8c7385feb3449a"></a><!-- doxytag: member="chmat::chmat" ref="d92f3bd9a727b8c88a8c7385feb3449a" args="(const chmat &amp;Ch0)" -->
107&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#d92f3bd9a727b8c88a8c7385feb3449a">chmat</a> (const <a class="el" href="classchmat.html">chmat</a> &amp;Ch0)</td></tr>
108
109<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor. <br></td></tr>
110<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8334a00f30f0a05f893c2aeec395ef10"></a><!-- doxytag: member="chmat::chmat" ref="8334a00f30f0a05f893c2aeec395ef10" args="(const mat &amp;M)" -->
111&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#8334a00f30f0a05f893c2aeec395ef10">chmat</a> (const mat &amp;M)</td></tr>
112
113<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor (m3k:cholform). <br></td></tr>
114<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c50d31c999d85d8e9d8cf2b69b6ac8c"></a><!-- doxytag: member="chmat::_Ch" ref="9c50d31c999d85d8e9d8cf2b69b6ac8c" args="()" -->
115mat &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#9c50d31c999d85d8e9d8cf2b69b6ac8c">_Ch</a> ()</td></tr>
116
117<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access function. <br></td></tr>
118<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4fc7f9b0539b97c414442a22f3db6e8"></a><!-- doxytag: member="chmat::setD" ref="a4fc7f9b0539b97c414442a22f3db6e8" args="(const vec &amp;nD)" -->
119void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#a4fc7f9b0539b97c414442a22f3db6e8">setD</a> (const vec &amp;nD)</td></tr>
120
121<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access functions. <br></td></tr>
122<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4b9271097d8317d9514c5d0d62cccb39"></a><!-- doxytag: member="chmat::setD" ref="4b9271097d8317d9514c5d0d62cccb39" args="(const vec &amp;nD, int i)" -->
123void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#4b9271097d8317d9514c5d0d62cccb39">setD</a> (const vec &amp;nD, int i)</td></tr>
124
125<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access functions. <br></td></tr>
126<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classchmat.html">chmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#6a8b39fe3a28d2c8e3fc0d74141229fb">operator+=</a> (const <a class="el" href="classchmat.html">chmat</a> &amp;A2)</td></tr>
127
128<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Operators.  <a href="#6a8b39fe3a28d2c8e3fc0d74141229fb"></a><br></td></tr>
129<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8c3628a8c15eb0009e57c66fcac1a76"></a><!-- doxytag: member="chmat::operator-=" ref="a8c3628a8c15eb0009e57c66fcac1a76" args="(const chmat &amp;A2)" -->
130<a class="el" href="classchmat.html">chmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#a8c3628a8c15eb0009e57c66fcac1a76">operator-=</a> (const <a class="el" href="classchmat.html">chmat</a> &amp;A2)</td></tr>
131
132<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">mapping of negative add operation to operators <br></td></tr>
133<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ecc2e2540f95a04f4449842588170f5b"></a><!-- doxytag: member="chmat::cols" ref="ecc2e2540f95a04f4449842588170f5b" args="() const " -->
134int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsqmat.html#ecc2e2540f95a04f4449842588170f5b">cols</a> () const </td></tr>
135
136<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplementing common functions of mat: <a class="el" href="classsqmat.html#ecc2e2540f95a04f4449842588170f5b" title="Reimplementing common functions of mat: cols().">cols()</a>. <br></td></tr>
137<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="071e80ced9cc3b8cbb360fa7462eb646"></a><!-- doxytag: member="chmat::rows" ref="071e80ced9cc3b8cbb360fa7462eb646" args="() const " -->
138int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsqmat.html#071e80ced9cc3b8cbb360fa7462eb646">rows</a> () const </td></tr>
139
140<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplementing common functions of mat: <a class="el" href="classsqmat.html#ecc2e2540f95a04f4449842588170f5b" title="Reimplementing common functions of mat: cols().">cols()</a>. <br></td></tr>
141<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
142<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95158bb150f5e7f939168abcd577fd9c"></a><!-- doxytag: member="chmat::Ch" ref="95158bb150f5e7f939168abcd577fd9c" args="" -->
143mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchmat.html#95158bb150f5e7f939168abcd577fd9c">Ch</a></td></tr>
144
145<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Upper triangle of the cholesky matrix. <br></td></tr>
146<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0abed904bdc0882373ba9adba919689d"></a><!-- doxytag: member="chmat::dim" ref="0abed904bdc0882373ba9adba919689d" args="" -->
147int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsqmat.html#0abed904bdc0882373ba9adba919689d">dim</a></td></tr>
148
149<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the square matrix <br></td></tr>
150</table>
151<hr><a name="_details"></a><h2>Detailed Description</h2>
152Symmetric matrix stored in square root decomposition using upper cholesky.
153<p>
154This matrix represent <img class="formulaInl" alt="$A=Ch' Ch$" src="form_19.png"> where only the upper triangle <img class="formulaInl" alt="$Ch$" src="form_20.png"> is stored; <hr><h2>Member Function Documentation</h2>
155<a class="anchor" name="bbc2d98d7455b1f38828907d442836bf"></a><!-- doxytag: member="chmat::opupdt" ref="bbc2d98d7455b1f38828907d442836bf" args="(const vec &amp;v, double w)" -->
156<div class="memitem">
157<div class="memproto">
158      <table class="memname">
159        <tr>
160          <td class="memname">void chmat::opupdt           </td>
161          <td>(</td>
162          <td class="paramtype">const vec &amp;&nbsp;</td>
163          <td class="paramname"> <em>v</em>, </td>
164        </tr>
165        <tr>
166          <td class="paramkey"></td>
167          <td></td>
168          <td class="paramtype">double&nbsp;</td>
169          <td class="paramname"> <em>w</em></td><td>&nbsp;</td>
170        </tr>
171        <tr>
172          <td></td>
173          <td>)</td>
174          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
175        </tr>
176      </table>
177</div>
178<div class="memdoc">
179
180<p>
181Perfroms a rank-1 update by outer product of vectors: <img class="formulaInl" alt="$V = V + w v v'$" src="form_23.png">. <dl compact><dt><b>Parameters:</b></dt><dd>
182  <table border="0" cellspacing="2" cellpadding="0">
183    <tr><td valign="top"></td><td valign="top"><em>v</em>&nbsp;</td><td>Vector forming the outer product to be added </td></tr>
184    <tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>weight of updating; can be negative</td></tr>
185  </table>
186</dl>
187BLAS-2b operation.
188<p>Implements <a class="el" href="classsqmat.html#b223484796661f2dadb5607a86ce0581">sqmat</a>.</p>
189
190<p>References <a class="el" href="chmat_8h-source.html#l00029">Ch</a>.</p>
191
192</div>
193</div><p>
194<a class="anchor" name="66f509f92b0ccf020e2a2a32566e0777"></a><!-- doxytag: member="chmat::mult_sym" ref="66f509f92b0ccf020e2a2a32566e0777" args="(const mat &amp;C)" -->
195<div class="memitem">
196<div class="memproto">
197      <table class="memname">
198        <tr>
199          <td class="memname">void chmat::mult_sym           </td>
200          <td>(</td>
201          <td class="paramtype">const mat &amp;&nbsp;</td>
202          <td class="paramname"> <em>C</em>          </td>
203          <td>&nbsp;)&nbsp;</td>
204          <td width="100%"><code> [virtual]</code></td>
205        </tr>
206      </table>
207</div>
208<div class="memdoc">
209
210<p>
211Inplace symmetric multiplication by a SQUARE matrix <img class="formulaInl" alt="$C$" src="form_24.png">, i.e. <img class="formulaInl" alt="$V = C*V*C'$" src="form_25.png">.
212<p>
213<dl compact><dt><b>Parameters:</b></dt><dd>
214  <table border="0" cellspacing="2" cellpadding="0">
215    <tr><td valign="top"></td><td valign="top"><em>C</em>&nbsp;</td><td>multiplying matrix, </td></tr>
216  </table>
217</dl>
218
219<p>Implements <a class="el" href="classsqmat.html#60fbbfa9e483b8187c135f787ee53afa">sqmat</a>.</p>
220
221</div>
222</div><p>
223<a class="anchor" name="07f50d1332b901eee962e8b1913102f7"></a><!-- doxytag: member="chmat::mult_sym_t" ref="07f50d1332b901eee962e8b1913102f7" args="(const mat &amp;C)" -->
224<div class="memitem">
225<div class="memproto">
226      <table class="memname">
227        <tr>
228          <td class="memname">void chmat::mult_sym_t           </td>
229          <td>(</td>
230          <td class="paramtype">const mat &amp;&nbsp;</td>
231          <td class="paramname"> <em>C</em>          </td>
232          <td>&nbsp;)&nbsp;</td>
233          <td width="100%"><code> [virtual]</code></td>
234        </tr>
235      </table>
236</div>
237<div class="memdoc">
238
239<p>
240Inplace symmetric multiplication by a SQUARE transpose of matrix <img class="formulaInl" alt="$C$" src="form_24.png">, i.e. <img class="formulaInl" alt="$V = C'*V*C$" src="form_26.png">.
241<p>
242<dl compact><dt><b>Parameters:</b></dt><dd>
243  <table border="0" cellspacing="2" cellpadding="0">
244    <tr><td valign="top"></td><td valign="top"><em>C</em>&nbsp;</td><td>multiplying matrix, </td></tr>
245  </table>
246</dl>
247
248<p>Implements <a class="el" href="classsqmat.html#6909e906da17725b1b80f3cae7cf3325">sqmat</a>.</p>
249
250</div>
251</div><p>
252<a class="anchor" name="b22aa239dbaca33e3fb93b4f674d7051"></a><!-- doxytag: member="chmat::sqrt_mult" ref="b22aa239dbaca33e3fb93b4f674d7051" args="(const vec &amp;v) const " -->
253<div class="memitem">
254<div class="memproto">
255      <table class="memname">
256        <tr>
257          <td class="memname">vec chmat::sqrt_mult           </td>
258          <td>(</td>
259          <td class="paramtype">const vec &amp;&nbsp;</td>
260          <td class="paramname"> <em>v</em>          </td>
261          <td>&nbsp;)&nbsp;</td>
262          <td width="100%"> const<code> [inline, virtual]</code></td>
263        </tr>
264      </table>
265</div>
266<div class="memdoc">
267
268<p>
269Multiplies square root of <img class="formulaInl" alt="$V$" src="form_27.png"> by vector <img class="formulaInl" alt="$x$" src="form_28.png">.
270<p>
271Used e.g. in generating normal samples.
272<p>Implements <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a>.</p>
273
274<p>References <a class="el" href="chmat_8h-source.html#l00029">Ch</a>.</p>
275
276</div>
277</div><p>
278<a class="anchor" name="6a8b39fe3a28d2c8e3fc0d74141229fb"></a><!-- doxytag: member="chmat::operator+=" ref="6a8b39fe3a28d2c8e3fc0d74141229fb" args="(const chmat &amp;A2)" -->
279<div class="memitem">
280<div class="memproto">
281      <table class="memname">
282        <tr>
283          <td class="memname"><a class="el" href="classchmat.html">chmat</a> &amp; chmat::operator+=           </td>
284          <td>(</td>
285          <td class="paramtype">const <a class="el" href="classchmat.html">chmat</a> &amp;&nbsp;</td>
286          <td class="paramname"> <em>A2</em>          </td>
287          <td>&nbsp;)&nbsp;</td>
288          <td width="100%"><code> [inline]</code></td>
289        </tr>
290      </table>
291</div>
292<div class="memdoc">
293
294<p>
295Operators.
296<p>
297Operations: mapping of add operation to operators
298</div>
299</div><p>
300<hr>The documentation for this class was generated from the following files:<ul>
301<li>work/mixpp/bdm/math/<a class="el" href="chmat_8h-source.html">chmat.h</a><li>work/mixpp/bdm/math/chmat.cpp</ul>
302</div>
303<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 20:46:38 2008 for mixpp by&nbsp;
304<a href="http://www.doxygen.org/index.html">
305<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
306</body>
307</html>
Note: See TracBrowser for help on using the browser.