root/doc/html/classchmat.html @ 219

Revision 219, 22.8 kB (checked in by smidl, 16 years ago)

doc

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