root/library/doc/html/classbdm_1_1fsqmat.html @ 545

Revision 538, 27.1 kB (checked in by smidl, 15 years ago)

Documentation regenerated

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: bdm::fsqmat Class Reference</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.8 -->
8<script type="text/javascript">
9<!--
10function changeDisplayState (e){
11  var num=this.id.replace(/[^[0-9]/g,'');
12  var button=this.firstChild;
13  var sectionDiv=document.getElementById('dynsection'+num);
14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
15    sectionDiv.style.display='block';
16    button.src='open.gif';
17  }else{
18    sectionDiv.style.display='none';
19    button.src='closed.gif';
20  }
21}
22function initDynSections(){
23  var divs=document.getElementsByTagName('div');
24  var sectionCounter=1;
25  for(var i=0;i<divs.length-1;i++){
26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
27      var header=divs[i];
28      var section=divs[i+1];
29      var button=header.firstChild;
30      if (button!='IMG'){
31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
32        button=document.createElement('img');
33        divs[i].insertBefore(button,divs[i].firstChild);
34      }
35      header.style.cursor='pointer';
36      header.onclick=changeDisplayState;
37      header.id='dynheader'+sectionCounter;
38      button.src='closed.gif';
39      section.id='dynsection'+sectionCounter;
40      section.style.display='none';
41      section.style.marginLeft='14px';
42      sectionCounter++;
43    }
44  }
45}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
55      <li><a href="files.html"><span>Files</span></a></li>
56    </ul>
57  </div>
58  <div class="tabs">
59    <ul>
60      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
61      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
62      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
63      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
64    </ul>
65  </div>
66  <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a>
67  </div>
68</div>
69<div class="contents">
70<h1>bdm::fsqmat Class Reference</h1><!-- doxytag: class="bdm::fsqmat" --><!-- doxytag: inherits="bdm::sqmat" -->Fake <a class="el" href="classbdm_1_1sqmat.html" title="Abstract class for representation of double symmetric matrices in square-root form...">sqmat</a>. This class maps <a class="el" href="classbdm_1_1sqmat.html" title="Abstract class for representation of double symmetric matrices in square-root form...">sqmat</a> operations to operations on full matrix. 
71<a href="#_details">More...</a>
72<p>
73<code>#include &lt;<a class="el" href="square__mat_8h-source.html">square_mat.h</a>&gt;</code>
74<p>
75
76<p>
77<a href="classbdm_1_1fsqmat-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
78<tr><td></td></tr>
79<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
80<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#a41b3686a77d1f9657b6942b01cfd8be">opupdt</a> (const vec &amp;v, double w)</td></tr>
81
82<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5c27d47cd0fa7ae686d4519f89a3c9b0"></a><!-- doxytag: member="bdm::fsqmat::to_mat" ref="5c27d47cd0fa7ae686d4519f89a3c9b0" args="() const " -->
83mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#5c27d47cd0fa7ae686d4519f89a3c9b0">to_mat</a> () const </td></tr>
84
85<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Conversion to full matrix. <br></td></tr>
86<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#fca713af3f74677fd7fbafe723590112">mult_sym</a> (const mat &amp;C)</td></tr>
87
88<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inplace symmetric multiplication by a SQUARE matrix <img class="formulaInl" alt="$C$" src="form_52.png">, i.e. <img class="formulaInl" alt="$V = C*V*C'$" src="form_53.png"><a href="#fca713af3f74677fd7fbafe723590112"></a><br></td></tr>
89<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#0f6b7cf09daf484f29ea99a144a27039">mult_sym_t</a> (const mat &amp;C)</td></tr>
90
91<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_52.png">, i.e. <img class="formulaInl" alt="$V = C'*V*C$" src="form_54.png"><a href="#0f6b7cf09daf484f29ea99a144a27039"></a><br></td></tr>
92<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75ff12a4d7d7ef50a812529e6e994cd1"></a><!-- doxytag: member="bdm::fsqmat::mult_sym" ref="75ff12a4d7d7ef50a812529e6e994cd1" args="(const mat &amp;C, fsqmat &amp;U) const " -->
93void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#75ff12a4d7d7ef50a812529e6e994cd1">mult_sym</a> (const mat &amp;C, <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;U) const </td></tr>
94
95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">store result of <code>mult_sym</code> in external matrix <img class="formulaInl" alt="$U$" src="form_58.png"> <br></td></tr>
96<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="06d0f00ce05ad0349bef754ba94ee6c9"></a><!-- doxytag: member="bdm::fsqmat::mult_sym_t" ref="06d0f00ce05ad0349bef754ba94ee6c9" args="(const mat &amp;C, fsqmat &amp;U) const " -->
97void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#06d0f00ce05ad0349bef754ba94ee6c9">mult_sym_t</a> (const mat &amp;C, <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;U) const </td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">store result of <code>mult_sym_t</code> in external matrix <img class="formulaInl" alt="$U$" src="form_58.png"> <br></td></tr>
100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8ba3bc2f92b3fc6cfc90f21b3a5a5ada"></a><!-- doxytag: member="bdm::fsqmat::clear" ref="8ba3bc2f92b3fc6cfc90f21b3a5a5ada" args="()" -->
101void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#8ba3bc2f92b3fc6cfc90f21b3a5a5ada">clear</a> ()</td></tr>
102
103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clearing matrix so that it corresponds to zeros. <br></td></tr>
104<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d9461412d5087d685a3213671446f143"></a><!-- doxytag: member="bdm::fsqmat::fsqmat" ref="d9461412d5087d685a3213671446f143" args="()" -->
105&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#d9461412d5087d685a3213671446f143">fsqmat</a> ()</td></tr>
106
107<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default initialization. <br></td></tr>
108<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5c1e23070177ec386ec80ae3ba3f29f5"></a><!-- doxytag: member="bdm::fsqmat::fsqmat" ref="5c1e23070177ec386ec80ae3ba3f29f5" args="(const int dim0)" -->
109&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#5c1e23070177ec386ec80ae3ba3f29f5">fsqmat</a> (const int dim0)</td></tr>
110
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default initialization with proper size. <br></td></tr>
112<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b74cf8cabe8ac3b2b232c3de6ad070b0"></a><!-- doxytag: member="bdm::fsqmat::fsqmat" ref="b74cf8cabe8ac3b2b232c3de6ad070b0" args="(const mat &amp;M)" -->
113&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#b74cf8cabe8ac3b2b232c3de6ad070b0">fsqmat</a> (const mat &amp;<a class="el" href="classbdm_1_1fsqmat.html#ae9e9d807cd320ec265df81022eb9f03">M</a>)</td></tr>
114
115<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
116<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8168a96449b2126dfc117c136fdf39d5"></a><!-- doxytag: member="bdm::fsqmat::fsqmat" ref="8168a96449b2126dfc117c136fdf39d5" args="(const fsqmat &amp;M, const ivec &amp;perm)" -->
117&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#8168a96449b2126dfc117c136fdf39d5">fsqmat</a> (const <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;<a class="el" href="classbdm_1_1fsqmat.html#ae9e9d807cd320ec265df81022eb9f03">M</a>, 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="6203529db9dab639f2c123aac9fb6a6c"></a><!-- doxytag: member="bdm::fsqmat::fsqmat" ref="6203529db9dab639f2c123aac9fb6a6c" args="(const vec &amp;d)" -->
121&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#6203529db9dab639f2c123aac9fb6a6c">fsqmat</a> (const vec &amp;d)</td></tr>
122
123<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
124<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26d4037b787aa9cd63742393e6bd334f"></a><!-- doxytag: member="bdm::fsqmat::~fsqmat" ref="26d4037b787aa9cd63742393e6bd334f" args="()" -->
125virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#26d4037b787aa9cd63742393e6bd334f">~fsqmat</a> ()</td></tr>
126
127<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor for future use;. <br></td></tr>
128<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#d17495888ab35e09ebb9b4e789f586d5">inv</a> (<a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;Inv) const </td></tr>
129
130<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix inversion preserving the chosen form.  <a href="#d17495888ab35e09ebb9b4e789f586d5"></a><br></td></tr>
131<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="15de11fa1e280d4caa7cb010711881a0"></a><!-- doxytag: member="bdm::fsqmat::logdet" ref="15de11fa1e280d4caa7cb010711881a0" args="() const " -->
132double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#15de11fa1e280d4caa7cb010711881a0">logdet</a> () const </td></tr>
133
134<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Logarithm of a determinant. <br></td></tr>
135<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="766faafcf138610840a6975f8a28d0b6"></a><!-- doxytag: member="bdm::fsqmat::qform" ref="766faafcf138610840a6975f8a28d0b6" args="(const vec &amp;v) const " -->
136double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#766faafcf138610840a6975f8a28d0b6">qform</a> (const vec &amp;v) const </td></tr>
137
138<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates quadratic form <img class="formulaInl" alt="$x= v'*V*v$" src="form_56.png">;. <br></td></tr>
139<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="967cbb3a58a0a6f7bd974f2c6ff5d520"></a><!-- doxytag: member="bdm::fsqmat::invqform" ref="967cbb3a58a0a6f7bd974f2c6ff5d520" args="(const vec &amp;v) const " -->
140double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#967cbb3a58a0a6f7bd974f2c6ff5d520">invqform</a> (const vec &amp;v) const </td></tr>
141
142<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates quadratic form <img class="formulaInl" alt="$x= v'*inv(V)*v$" src="form_57.png">;. <br></td></tr>
143<tr><td class="memItemLeft" nowrap align="right" valign="top">vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#ab240f84ea1685bc95df0446f948abfd">sqrt_mult</a> (const vec &amp;v) const </td></tr>
144
145<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Multiplies square <a class="el" href="classbdm_1_1root.html" title="Root class of BDM objects.">root</a> of <img class="formulaInl" alt="$V$" src="form_55.png"> by vector <img class="formulaInl" alt="$x$" src="form_1.png"><a href="#ab240f84ea1685bc95df0446f948abfd"></a><br></td></tr>
146<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1a01433460718f7b8a9fa6ba9a911b8a"></a><!-- doxytag: member="bdm::fsqmat::add" ref="1a01433460718f7b8a9fa6ba9a911b8a" args="(const fsqmat &amp;fsq2, double w=1.0)" -->
147void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#1a01433460718f7b8a9fa6ba9a911b8a">add</a> (const <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;fsq2, double w=1.0)</td></tr>
148
149<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add another matrix in fsq form with weight w. <br></td></tr>
150<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d36cb40feaa7079d8687d60bd33e50a5"></a><!-- doxytag: member="bdm::fsqmat::setD" ref="d36cb40feaa7079d8687d60bd33e50a5" args="(const vec &amp;nD)" -->
151void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#d36cb40feaa7079d8687d60bd33e50a5">setD</a> (const vec &amp;nD)</td></tr>
152
153<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access functions. <br></td></tr>
154<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d94e0156c4d15a756b23fa70ab181904"></a><!-- doxytag: member="bdm::fsqmat::getD" ref="d94e0156c4d15a756b23fa70ab181904" args="()" -->
155vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#d94e0156c4d15a756b23fa70ab181904">getD</a> ()</td></tr>
156
157<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access functions. <br></td></tr>
158<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="19f6f73679a09315babba64a95d89085"></a><!-- doxytag: member="bdm::fsqmat::setD" ref="19f6f73679a09315babba64a95d89085" args="(const vec &amp;nD, int i)" -->
159void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#19f6f73679a09315babba64a95d89085">setD</a> (const vec &amp;nD, int i)</td></tr>
160
161<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access functions. <br></td></tr>
162<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83db17577372a459433cc56aef712583"></a><!-- doxytag: member="bdm::fsqmat::operator+=" ref="83db17577372a459433cc56aef712583" args="(const fsqmat &amp;A)" -->
163<a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#83db17577372a459433cc56aef712583">operator+=</a> (const <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;A)</td></tr>
164
165<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">add another <a class="el" href="classbdm_1_1fsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> matrix <br></td></tr>
166<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="019ee2145f7ef263bfb9a72e8e0532d9"></a><!-- doxytag: member="bdm::fsqmat::operator&#45;=" ref="019ee2145f7ef263bfb9a72e8e0532d9" args="(const fsqmat &amp;A)" -->
167<a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#019ee2145f7ef263bfb9a72e8e0532d9">operator-=</a> (const <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;A)</td></tr>
168
169<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">subtrack another <a class="el" href="classbdm_1_1fsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> matrix <br></td></tr>
170<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="093d62d05f04b97d91084ed97194560b"></a><!-- doxytag: member="bdm::fsqmat::operator*=" ref="093d62d05f04b97d91084ed97194560b" args="(double x)" -->
171<a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#093d62d05f04b97d91084ed97194560b">operator*=</a> (double x)</td></tr>
172
173<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">multiply by a scalar <br></td></tr>
174<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="445ef762cf5d2d6cfdf53c72942363cf"></a><!-- doxytag: member="bdm::fsqmat::cols" ref="445ef762cf5d2d6cfdf53c72942363cf" args="() const " -->
175int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1sqmat.html#445ef762cf5d2d6cfdf53c72942363cf">cols</a> () const </td></tr>
176
177<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplementing common functions of mat: <a class="el" href="classbdm_1_1sqmat.html#445ef762cf5d2d6cfdf53c72942363cf" title="Reimplementing common functions of mat: cols().">cols()</a>. <br></td></tr>
178<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="73e639221343dcce76c3305524d67590"></a><!-- doxytag: member="bdm::fsqmat::rows" ref="73e639221343dcce76c3305524d67590" args="() const " -->
179int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1sqmat.html#73e639221343dcce76c3305524d67590">rows</a> () const </td></tr>
180
181<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplementing common functions of mat: <a class="el" href="classbdm_1_1sqmat.html#73e639221343dcce76c3305524d67590" title="Reimplementing common functions of mat: rows().">rows()</a>. <br></td></tr>
182<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
183<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae9e9d807cd320ec265df81022eb9f03"></a><!-- doxytag: member="bdm::fsqmat::M" ref="ae9e9d807cd320ec265df81022eb9f03" args="" -->
184mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#ae9e9d807cd320ec265df81022eb9f03">M</a></td></tr>
185
186<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Full matrix on which the operations are performed. <br></td></tr>
187<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="05111b5744a494880e62cb0f3d42293f"></a><!-- doxytag: member="bdm::fsqmat::dim" ref="05111b5744a494880e62cb0f3d42293f" args="" -->
188int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f">dim</a></td></tr>
189
190<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the square matrix <br></td></tr>
191<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
192<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e06aba54d61e807b41bd68b5ee6ac22f"></a><!-- doxytag: member="bdm::fsqmat::operator&lt;&lt;" ref="e06aba54d61e807b41bd68b5ee6ac22f" args="(std::ostream &amp;os, const fsqmat &amp;sq)" -->
193std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fsqmat.html#e06aba54d61e807b41bd68b5ee6ac22f">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;sq)</td></tr>
194
195<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">print full matrix <br></td></tr>
196</table>
197<hr><a name="_details"></a><h2>Detailed Description</h2>
198Fake <a class="el" href="classbdm_1_1sqmat.html" title="Abstract class for representation of double symmetric matrices in square-root form...">sqmat</a>. This class maps <a class="el" href="classbdm_1_1sqmat.html" title="Abstract class for representation of double symmetric matrices in square-root form...">sqmat</a> operations to operations on full matrix.
199<p>
200This class can be used to compare performance of algorithms using decomposed matrices with perormance of the same algorithms using full matrices; <hr><h2>Member Function Documentation</h2>
201<a class="anchor" name="d17495888ab35e09ebb9b4e789f586d5"></a><!-- doxytag: member="bdm::fsqmat::inv" ref="d17495888ab35e09ebb9b4e789f586d5" args="(fsqmat &amp;Inv) const " -->
202<div class="memitem">
203<div class="memproto">
204      <table class="memname">
205        <tr>
206          <td class="memname">void bdm::fsqmat::inv           </td>
207          <td>(</td>
208          <td class="paramtype"><a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;&nbsp;</td>
209          <td class="paramname"> <em>Inv</em>          </td>
210          <td>&nbsp;)&nbsp;</td>
211          <td> const</td>
212        </tr>
213      </table>
214</div>
215<div class="memdoc">
216
217<p>
218Matrix inversion preserving the chosen form.
219<p>
220<dl compact><dt><b>Parameters:</b></dt><dd>
221  <table border="0" cellspacing="2" cellpadding="0">
222    <tr><td valign="top"></td><td valign="top"><em>Inv</em>&nbsp;</td><td>a space where the inverse is stored. </td></tr>
223  </table>
224</dl>
225
226<p>References <a class="el" href="square__mat_8h-source.html#l00122">M</a>.</p>
227
228<p>Referenced by <a class="el" href="kalman_8h-source.html#l00487">bdm::EKF&lt; sq_T &gt;::bayes()</a>, and <a class="el" href="exp__family_8cpp-source.html#l00025">bdm::egiw::evallog_nn()</a>.</p>
229
230</div>
231</div><p>
232<a class="anchor" name="fca713af3f74677fd7fbafe723590112"></a><!-- doxytag: member="bdm::fsqmat::mult_sym" ref="fca713af3f74677fd7fbafe723590112" args="(const mat &amp;C)" -->
233<div class="memitem">
234<div class="memproto">
235      <table class="memname">
236        <tr>
237          <td class="memname">void bdm::fsqmat::mult_sym           </td>
238          <td>(</td>
239          <td class="paramtype">const mat &amp;&nbsp;</td>
240          <td class="paramname"> <em>C</em>          </td>
241          <td>&nbsp;)&nbsp;</td>
242          <td><code> [virtual]</code></td>
243        </tr>
244      </table>
245</div>
246<div class="memdoc">
247
248<p>
249Inplace symmetric multiplication by a SQUARE matrix <img class="formulaInl" alt="$C$" src="form_52.png">, i.e. <img class="formulaInl" alt="$V = C*V*C'$" src="form_53.png">.
250<p>
251<dl compact><dt><b>Parameters:</b></dt><dd>
252  <table border="0" cellspacing="2" cellpadding="0">
253    <tr><td valign="top"></td><td valign="top"><em>C</em>&nbsp;</td><td>multiplying matrix, </td></tr>
254  </table>
255</dl>
256
257<p>Implements <a class="el" href="classbdm_1_1sqmat.html#742581db1f8ce9602ec1c3e6373e499c">bdm::sqmat</a>.</p>
258
259<p>References <a class="el" href="square__mat_8h-source.html#l00122">M</a>.</p>
260
261<p>Referenced by <a class="el" href="kalman_8h-source.html#l00487">bdm::EKF&lt; sq_T &gt;::bayes()</a>.</p>
262
263</div>
264</div><p>
265<a class="anchor" name="0f6b7cf09daf484f29ea99a144a27039"></a><!-- doxytag: member="bdm::fsqmat::mult_sym_t" ref="0f6b7cf09daf484f29ea99a144a27039" args="(const mat &amp;C)" -->
266<div class="memitem">
267<div class="memproto">
268      <table class="memname">
269        <tr>
270          <td class="memname">void bdm::fsqmat::mult_sym_t           </td>
271          <td>(</td>
272          <td class="paramtype">const mat &amp;&nbsp;</td>
273          <td class="paramname"> <em>C</em>          </td>
274          <td>&nbsp;)&nbsp;</td>
275          <td><code> [virtual]</code></td>
276        </tr>
277      </table>
278</div>
279<div class="memdoc">
280
281<p>
282Inplace symmetric multiplication by a SQUARE transpose of matrix <img class="formulaInl" alt="$C$" src="form_52.png">, i.e. <img class="formulaInl" alt="$V = C'*V*C$" src="form_54.png">.
283<p>
284<dl compact><dt><b>Parameters:</b></dt><dd>
285  <table border="0" cellspacing="2" cellpadding="0">
286    <tr><td valign="top"></td><td valign="top"><em>C</em>&nbsp;</td><td>multiplying matrix, </td></tr>
287  </table>
288</dl>
289
290<p>Implements <a class="el" href="classbdm_1_1sqmat.html#2db6f35ac14e6d1d905b4100e4c13743">bdm::sqmat</a>.</p>
291
292<p>References <a class="el" href="square__mat_8h-source.html#l00122">M</a>.</p>
293
294</div>
295</div><p>
296<a class="anchor" name="a41b3686a77d1f9657b6942b01cfd8be"></a><!-- doxytag: member="bdm::fsqmat::opupdt" ref="a41b3686a77d1f9657b6942b01cfd8be" args="(const vec &amp;v, double w)" -->
297<div class="memitem">
298<div class="memproto">
299      <table class="memname">
300        <tr>
301          <td class="memname">void bdm::fsqmat::opupdt           </td>
302          <td>(</td>
303          <td class="paramtype">const vec &amp;&nbsp;</td>
304          <td class="paramname"> <em>v</em>, </td>
305        </tr>
306        <tr>
307          <td class="paramkey"></td>
308          <td></td>
309          <td class="paramtype">double&nbsp;</td>
310          <td class="paramname"> <em>w</em></td><td>&nbsp;</td>
311        </tr>
312        <tr>
313          <td></td>
314          <td>)</td>
315          <td></td><td></td><td><code> [virtual]</code></td>
316        </tr>
317      </table>
318</div>
319<div class="memdoc">
320
321<p>
322Perfroms a rank-1 update by outer product of vectors: <img class="formulaInl" alt="$V = V + w v v'$" src="form_51.png">. <dl compact><dt><b>Parameters:</b></dt><dd>
323  <table border="0" cellspacing="2" cellpadding="0">
324    <tr><td valign="top"></td><td valign="top"><em>v</em>&nbsp;</td><td>Vector forming the outer product to be added </td></tr>
325    <tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>weight of updating; can be negative</td></tr>
326  </table>
327</dl>
328BLAS-2b operation.
329<p>Implements <a class="el" href="classbdm_1_1sqmat.html#cb3b3eef10b0c1f41ead717d3ad40ec5">bdm::sqmat</a>.</p>
330
331<p>References <a class="el" href="square__mat_8h-source.html#l00122">M</a>.</p>
332
333</div>
334</div><p>
335<a class="anchor" name="ab240f84ea1685bc95df0446f948abfd"></a><!-- doxytag: member="bdm::fsqmat::sqrt_mult" ref="ab240f84ea1685bc95df0446f948abfd" args="(const vec &amp;v) const " -->
336<div class="memitem">
337<div class="memproto">
338      <table class="memname">
339        <tr>
340          <td class="memname">vec bdm::fsqmat::sqrt_mult           </td>
341          <td>(</td>
342          <td class="paramtype">const vec &amp;&nbsp;</td>
343          <td class="paramname"> <em>v</em>          </td>
344          <td>&nbsp;)&nbsp;</td>
345          <td> const<code> [inline, virtual]</code></td>
346        </tr>
347      </table>
348</div>
349<div class="memdoc">
350
351<p>
352Multiplies square <a class="el" href="classbdm_1_1root.html" title="Root class of BDM objects.">root</a> of <img class="formulaInl" alt="$V$" src="form_55.png"> by vector <img class="formulaInl" alt="$x$" src="form_1.png">.
353<p>
354Used e.g. in generating normal samples.
355<p>Implements <a class="el" href="classbdm_1_1sqmat.html#608bfff59854833f1acfccdbd346832a">bdm::sqmat</a>.</p>
356
357<p>References <a class="el" href="square__mat_8h-source.html#l00122">M</a>.</p>
358
359</div>
360</div><p>
361<hr>The documentation for this class was generated from the following files:<ul>
362<li><a class="el" href="square__mat_8h-source.html">square_mat.h</a><li>square_mat.cpp</ul>
363</div>
364<hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 16 17:58:19 2009 for mixpp by&nbsp;
365<a href="http://www.doxygen.org/index.html">
366<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
367</body>
368</html>
Note: See TracBrowser for help on using the browser.