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: fsqmat 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 Page</span></a></li> |
---|
12 | <li><a href="pages.html"><span>Related 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 List</span></a></li> |
---|
20 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
21 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
22 | </ul> |
---|
23 | </div> |
---|
24 | </div> |
---|
25 | <div class="contents"> |
---|
26 | <h1>fsqmat Class Reference</h1><!-- doxytag: class="fsqmat" --><!-- doxytag: inherits="sqmat" -->Fake <a class="el" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a>. This class maps <a class="el" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a> operations to operations on full matrix. |
---|
27 | <a href="#_details">More...</a> |
---|
28 | <p> |
---|
29 | <code>#include <<a class="el" href="libDC_8h-source.html">libDC.h</a>></code> |
---|
30 | <p> |
---|
31 | <div class="dynheader"> |
---|
32 | Inheritance diagram for fsqmat:</div> |
---|
33 | <div class="dynsection"> |
---|
34 | <p><center><img src="classfsqmat__inherit__graph.png" border="0" usemap="#fsqmat__inherit__map" alt="Inheritance graph"></center> |
---|
35 | <map name="fsqmat__inherit__map"> |
---|
36 | <area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="8,7,64,31"></map> |
---|
37 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
38 | <div class="dynheader"> |
---|
39 | Collaboration diagram for fsqmat:</div> |
---|
40 | <div class="dynsection"> |
---|
41 | <p><center><img src="classfsqmat__coll__graph.png" border="0" usemap="#fsqmat__coll__map" alt="Collaboration graph"></center> |
---|
42 | <map name="fsqmat__coll__map"> |
---|
43 | <area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="8,7,64,31"></map> |
---|
44 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
45 | |
---|
46 | <p> |
---|
47 | <a href="classfsqmat-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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#b36530e155667fe9f1bd58394e50c65a">opupdt</a> (const vec &v, double w)</td></tr> |
---|
51 | |
---|
52 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cedf4f048309056f4262c930914dfda8"></a><!-- doxytag: member="fsqmat::to_mat" ref="cedf4f048309056f4262c930914dfda8" args="()" --> |
---|
53 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#cedf4f048309056f4262c930914dfda8">to_mat</a> ()</td></tr> |
---|
54 | |
---|
55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Conversion to full matrix. <br></td></tr> |
---|
56 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#5530d2756b5d991de755e6121c9a452e">mult_sym</a> (const mat &C)</td></tr> |
---|
57 | |
---|
58 | <tr><td class="mdescLeft"> </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="#5530d2756b5d991de755e6121c9a452e"></a><br></td></tr> |
---|
59 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#92052a8adc2054b63e42d1373d145c89">mult_sym_t</a> (const mat &C)</td></tr> |
---|
60 | |
---|
61 | <tr><td class="mdescLeft"> </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="#92052a8adc2054b63e42d1373d145c89"></a><br></td></tr> |
---|
62 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4eddc3743c8865cc5ed92d14de0e3e3"></a><!-- doxytag: member="fsqmat::mult_sym" ref="d4eddc3743c8865cc5ed92d14de0e3e3" args="(const mat &C, fsqmat &U) const " --> |
---|
63 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#d4eddc3743c8865cc5ed92d14de0e3e3">mult_sym</a> (const mat &C, <a class="el" href="classfsqmat.html">fsqmat</a> &U) const </td></tr> |
---|
64 | |
---|
65 | <tr><td class="mdescLeft"> </td><td class="mdescRight">store result of <code>mult_sym</code> in external matrix <img class="formulaInl" alt="$U$" src="form_31.png"> <br></td></tr> |
---|
66 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae4949ad2a32553c7fa04d6d1483770a"></a><!-- doxytag: member="fsqmat::mult_sym_t" ref="ae4949ad2a32553c7fa04d6d1483770a" args="(const mat &C, fsqmat &U) const " --> |
---|
67 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#ae4949ad2a32553c7fa04d6d1483770a">mult_sym_t</a> (const mat &C, <a class="el" href="classfsqmat.html">fsqmat</a> &U) const </td></tr> |
---|
68 | |
---|
69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">store result of <code>mult_sym_t</code> in external matrix <img class="formulaInl" alt="$U$" src="form_31.png"> <br></td></tr> |
---|
70 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cfa4c359483d2322f32d1d50050f8ac4"></a><!-- doxytag: member="fsqmat::clear" ref="cfa4c359483d2322f32d1d50050f8ac4" args="()" --> |
---|
71 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#cfa4c359483d2322f32d1d50050f8ac4">clear</a> ()</td></tr> |
---|
72 | |
---|
73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Clearing matrix so that it corresponds to zeros. <br></td></tr> |
---|
74 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="79e3f73e0ccd663c7f7e08083d272940"></a><!-- doxytag: member="fsqmat::fsqmat" ref="79e3f73e0ccd663c7f7e08083d272940" args="()" --> |
---|
75 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#79e3f73e0ccd663c7f7e08083d272940">fsqmat</a> ()</td></tr> |
---|
76 | |
---|
77 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default initialization. <br></td></tr> |
---|
78 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40eae99305e7c7240fa95cfec125b06f"></a><!-- doxytag: member="fsqmat::fsqmat" ref="40eae99305e7c7240fa95cfec125b06f" args="(const int dim0)" --> |
---|
79 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#40eae99305e7c7240fa95cfec125b06f">fsqmat</a> (const int dim0)</td></tr> |
---|
80 | |
---|
81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default initialization with proper size. <br></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1929fbc9fe375f1d67f979d0d302336f"></a><!-- doxytag: member="fsqmat::fsqmat" ref="1929fbc9fe375f1d67f979d0d302336f" args="(const mat &M)" --> |
---|
83 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#1929fbc9fe375f1d67f979d0d302336f">fsqmat</a> (const mat &<a class="el" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453">M</a>)</td></tr> |
---|
84 | |
---|
85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br></td></tr> |
---|
86 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c01f3e9bb590f2a2921369d672f3ce1e"></a><!-- doxytag: member="fsqmat::fsqmat" ref="c01f3e9bb590f2a2921369d672f3ce1e" args="(const vec &d)" --> |
---|
87 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#c01f3e9bb590f2a2921369d672f3ce1e">fsqmat</a> (const vec &d)</td></tr> |
---|
88 | |
---|
89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br></td></tr> |
---|
90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2a8f104e4befbc2aa90d8b11edfedb2e"></a><!-- doxytag: member="fsqmat::~fsqmat" ref="2a8f104e4befbc2aa90d8b11edfedb2e" args="()" --> |
---|
91 | virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#2a8f104e4befbc2aa90d8b11edfedb2e">~fsqmat</a> ()</td></tr> |
---|
92 | |
---|
93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor for future use;. <br></td></tr> |
---|
94 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#9fa853e1ca28f2a1a1c43377e798ecb1">inv</a> (<a class="el" href="classfsqmat.html">fsqmat</a> &Inv)</td></tr> |
---|
95 | |
---|
96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix inversion preserving the chosen form. <a href="#9fa853e1ca28f2a1a1c43377e798ecb1"></a><br></td></tr> |
---|
97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb0d1358f536e4453b5f99d0418ca1e5"></a><!-- doxytag: member="fsqmat::logdet" ref="eb0d1358f536e4453b5f99d0418ca1e5" args="() const " --> |
---|
98 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#eb0d1358f536e4453b5f99d0418ca1e5">logdet</a> () const </td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of a determinant. <br></td></tr> |
---|
101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6c91b0389e73404324b2314b08d6e87"></a><!-- doxytag: member="fsqmat::qform" ref="a6c91b0389e73404324b2314b08d6e87" args="(const vec &v) const " --> |
---|
102 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#a6c91b0389e73404324b2314b08d6e87">qform</a> (const vec &v) const </td></tr> |
---|
103 | |
---|
104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates quadratic form <img class="formulaInl" alt="$x= v'*V*v$" src="form_29.png">;. <br></td></tr> |
---|
105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="58075da64ddadd4df40654c35b928c6f"></a><!-- doxytag: member="fsqmat::invqform" ref="58075da64ddadd4df40654c35b928c6f" args="(const vec &v) const " --> |
---|
106 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#58075da64ddadd4df40654c35b928c6f">invqform</a> (const vec &v) const </td></tr> |
---|
107 | |
---|
108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates quadratic form <img class="formulaInl" alt="$x= v'*inv(V)*v$" src="form_30.png">;. <br></td></tr> |
---|
109 | <tr><td class="memItemLeft" nowrap align="right" valign="top">vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">sqrt_mult</a> (const vec &v) const </td></tr> |
---|
110 | |
---|
111 | <tr><td class="mdescLeft"> </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="#842a774077ee34ac3c36d180ab33e103"></a><br></td></tr> |
---|
112 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2e0bf7dbbbbe1d3358064c4ad455f1f"></a><!-- doxytag: member="fsqmat::add" ref="a2e0bf7dbbbbe1d3358064c4ad455f1f" args="(const fsqmat &fsq2, double w=1.0)" --> |
---|
113 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#a2e0bf7dbbbbe1d3358064c4ad455f1f">add</a> (const <a class="el" href="classfsqmat.html">fsqmat</a> &fsq2, double w=1.0)</td></tr> |
---|
114 | |
---|
115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Add another matrix in fsq form with weight w. <br></td></tr> |
---|
116 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="922f8190c13987cbcdb33ec2bf5cf105"></a><!-- doxytag: member="fsqmat::setD" ref="922f8190c13987cbcdb33ec2bf5cf105" args="(const vec &nD)" --> |
---|
117 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#922f8190c13987cbcdb33ec2bf5cf105">setD</a> (const vec &nD)</td></tr> |
---|
118 | |
---|
119 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access functions. <br></td></tr> |
---|
120 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bcf837b2956745e8986044f5600dbd6e"></a><!-- doxytag: member="fsqmat::getD" ref="bcf837b2956745e8986044f5600dbd6e" args="()" --> |
---|
121 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#bcf837b2956745e8986044f5600dbd6e">getD</a> ()</td></tr> |
---|
122 | |
---|
123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access functions. <br></td></tr> |
---|
124 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="03a8f49eb4d38a054ecc522be59cd2ad"></a><!-- doxytag: member="fsqmat::setD" ref="03a8f49eb4d38a054ecc522be59cd2ad" args="(const vec &nD, int i)" --> |
---|
125 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#03a8f49eb4d38a054ecc522be59cd2ad">setD</a> (const vec &nD, int i)</td></tr> |
---|
126 | |
---|
127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access functions. <br></td></tr> |
---|
128 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="514d1fdd8a382dbd6a774f2cf1ebd3de"></a><!-- doxytag: member="fsqmat::operator+=" ref="514d1fdd8a382dbd6a774f2cf1ebd3de" args="(const fsqmat &A)" --> |
---|
129 | <a class="el" href="classfsqmat.html">fsqmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#514d1fdd8a382dbd6a774f2cf1ebd3de">operator+=</a> (const <a class="el" href="classfsqmat.html">fsqmat</a> &A)</td></tr> |
---|
130 | |
---|
131 | <tr><td class="mdescLeft"> </td><td class="mdescRight">add another <a class="el" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> matrix <br></td></tr> |
---|
132 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e976bc9d899961e1d2087b0630ed33b7"></a><!-- doxytag: member="fsqmat::operator-=" ref="e976bc9d899961e1d2087b0630ed33b7" args="(const fsqmat &A)" --> |
---|
133 | <a class="el" href="classfsqmat.html">fsqmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#e976bc9d899961e1d2087b0630ed33b7">operator-=</a> (const <a class="el" href="classfsqmat.html">fsqmat</a> &A)</td></tr> |
---|
134 | |
---|
135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">subtrack another <a class="el" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix.">fsqmat</a> matrix <br></td></tr> |
---|
136 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af800e7b2146da5e60897255dde80059"></a><!-- doxytag: member="fsqmat::operator*=" ref="af800e7b2146da5e60897255dde80059" args="(double x)" --> |
---|
137 | <a class="el" href="classfsqmat.html">fsqmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#af800e7b2146da5e60897255dde80059">operator*=</a> (double x)</td></tr> |
---|
138 | |
---|
139 | <tr><td class="mdescLeft"> </td><td class="mdescRight">multiply by a scalar <br></td></tr> |
---|
140 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ecc2e2540f95a04f4449842588170f5b"></a><!-- doxytag: member="fsqmat::cols" ref="ecc2e2540f95a04f4449842588170f5b" args="() const " --> |
---|
141 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classsqmat.html#ecc2e2540f95a04f4449842588170f5b">cols</a> () const </td></tr> |
---|
142 | |
---|
143 | <tr><td class="mdescLeft"> </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> |
---|
144 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="071e80ced9cc3b8cbb360fa7462eb646"></a><!-- doxytag: member="fsqmat::rows" ref="071e80ced9cc3b8cbb360fa7462eb646" args="() const " --> |
---|
145 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classsqmat.html#071e80ced9cc3b8cbb360fa7462eb646">rows</a> () const </td></tr> |
---|
146 | |
---|
147 | <tr><td class="mdescLeft"> </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> |
---|
148 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
149 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7a1fcb9aae19d1e4daddfc9c22ce453"></a><!-- doxytag: member="fsqmat::M" ref="a7a1fcb9aae19d1e4daddfc9c22ce453" args="" --> |
---|
150 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#a7a1fcb9aae19d1e4daddfc9c22ce453">M</a></td></tr> |
---|
151 | |
---|
152 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Full matrix on which the operations are performed. <br></td></tr> |
---|
153 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0abed904bdc0882373ba9adba919689d"></a><!-- doxytag: member="fsqmat::dim" ref="0abed904bdc0882373ba9adba919689d" args="" --> |
---|
154 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classsqmat.html#0abed904bdc0882373ba9adba919689d">dim</a></td></tr> |
---|
155 | |
---|
156 | <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the square matrix <br></td></tr> |
---|
157 | <tr><td colspan="2"><br><h2>Friends</h2></td></tr> |
---|
158 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e06aba54d61e807b41bd68b5ee6ac22f"></a><!-- doxytag: member="fsqmat::operator<<" ref="e06aba54d61e807b41bd68b5ee6ac22f" args="(std::ostream &os, const fsqmat &sq)" --> |
---|
159 | std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classfsqmat.html#e06aba54d61e807b41bd68b5ee6ac22f">operator<<</a> (std::ostream &os, const <a class="el" href="classfsqmat.html">fsqmat</a> &sq)</td></tr> |
---|
160 | |
---|
161 | <tr><td class="mdescLeft"> </td><td class="mdescRight">print full matrix <br></td></tr> |
---|
162 | </table> |
---|
163 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
164 | Fake <a class="el" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a>. This class maps <a class="el" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form...">sqmat</a> operations to operations on full matrix. |
---|
165 | <p> |
---|
166 | This 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> |
---|
167 | <a class="anchor" name="b36530e155667fe9f1bd58394e50c65a"></a><!-- doxytag: member="fsqmat::opupdt" ref="b36530e155667fe9f1bd58394e50c65a" args="(const vec &v, double w)" --> |
---|
168 | <div class="memitem"> |
---|
169 | <div class="memproto"> |
---|
170 | <table class="memname"> |
---|
171 | <tr> |
---|
172 | <td class="memname">void fsqmat::opupdt </td> |
---|
173 | <td>(</td> |
---|
174 | <td class="paramtype">const vec & </td> |
---|
175 | <td class="paramname"> <em>v</em>, </td> |
---|
176 | </tr> |
---|
177 | <tr> |
---|
178 | <td class="paramkey"></td> |
---|
179 | <td></td> |
---|
180 | <td class="paramtype">double </td> |
---|
181 | <td class="paramname"> <em>w</em></td><td> </td> |
---|
182 | </tr> |
---|
183 | <tr> |
---|
184 | <td></td> |
---|
185 | <td>)</td> |
---|
186 | <td></td><td></td><td width="100%"><code> [virtual]</code></td> |
---|
187 | </tr> |
---|
188 | </table> |
---|
189 | </div> |
---|
190 | <div class="memdoc"> |
---|
191 | |
---|
192 | <p> |
---|
193 | Perfroms 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> |
---|
194 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
195 | <tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>Vector forming the outer product to be added </td></tr> |
---|
196 | <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>weight of updating; can be negative</td></tr> |
---|
197 | </table> |
---|
198 | </dl> |
---|
199 | BLAS-2b operation. |
---|
200 | <p>Implements <a class="el" href="classsqmat.html#b223484796661f2dadb5607a86ce0581">sqmat</a>.</p> |
---|
201 | |
---|
202 | <p>References <a class="el" href="libDC_8h-source.html#l00114">M</a>.</p> |
---|
203 | |
---|
204 | </div> |
---|
205 | </div><p> |
---|
206 | <a class="anchor" name="5530d2756b5d991de755e6121c9a452e"></a><!-- doxytag: member="fsqmat::mult_sym" ref="5530d2756b5d991de755e6121c9a452e" args="(const mat &C)" --> |
---|
207 | <div class="memitem"> |
---|
208 | <div class="memproto"> |
---|
209 | <table class="memname"> |
---|
210 | <tr> |
---|
211 | <td class="memname">void fsqmat::mult_sym </td> |
---|
212 | <td>(</td> |
---|
213 | <td class="paramtype">const mat & </td> |
---|
214 | <td class="paramname"> <em>C</em> </td> |
---|
215 | <td> ) </td> |
---|
216 | <td width="100%"><code> [virtual]</code></td> |
---|
217 | </tr> |
---|
218 | </table> |
---|
219 | </div> |
---|
220 | <div class="memdoc"> |
---|
221 | |
---|
222 | <p> |
---|
223 | 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">. |
---|
224 | <p> |
---|
225 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
226 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
227 | <tr><td valign="top"></td><td valign="top"><em>C</em> </td><td>multiplying matrix, </td></tr> |
---|
228 | </table> |
---|
229 | </dl> |
---|
230 | |
---|
231 | <p>Implements <a class="el" href="classsqmat.html#60fbbfa9e483b8187c135f787ee53afa">sqmat</a>.</p> |
---|
232 | |
---|
233 | <p>References <a class="el" href="libDC_8h-source.html#l00114">M</a>.</p> |
---|
234 | |
---|
235 | <p>Referenced by <a class="el" href="libKF_8h-source.html#l00364">EKF< sq_T >::bayes()</a>.</p> |
---|
236 | |
---|
237 | </div> |
---|
238 | </div><p> |
---|
239 | <a class="anchor" name="92052a8adc2054b63e42d1373d145c89"></a><!-- doxytag: member="fsqmat::mult_sym_t" ref="92052a8adc2054b63e42d1373d145c89" args="(const mat &C)" --> |
---|
240 | <div class="memitem"> |
---|
241 | <div class="memproto"> |
---|
242 | <table class="memname"> |
---|
243 | <tr> |
---|
244 | <td class="memname">void fsqmat::mult_sym_t </td> |
---|
245 | <td>(</td> |
---|
246 | <td class="paramtype">const mat & </td> |
---|
247 | <td class="paramname"> <em>C</em> </td> |
---|
248 | <td> ) </td> |
---|
249 | <td width="100%"><code> [virtual]</code></td> |
---|
250 | </tr> |
---|
251 | </table> |
---|
252 | </div> |
---|
253 | <div class="memdoc"> |
---|
254 | |
---|
255 | <p> |
---|
256 | 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">. |
---|
257 | <p> |
---|
258 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
259 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
260 | <tr><td valign="top"></td><td valign="top"><em>C</em> </td><td>multiplying matrix, </td></tr> |
---|
261 | </table> |
---|
262 | </dl> |
---|
263 | |
---|
264 | <p>Implements <a class="el" href="classsqmat.html#6909e906da17725b1b80f3cae7cf3325">sqmat</a>.</p> |
---|
265 | |
---|
266 | <p>References <a class="el" href="libDC_8h-source.html#l00114">M</a>.</p> |
---|
267 | |
---|
268 | </div> |
---|
269 | </div><p> |
---|
270 | <a class="anchor" name="9fa853e1ca28f2a1a1c43377e798ecb1"></a><!-- doxytag: member="fsqmat::inv" ref="9fa853e1ca28f2a1a1c43377e798ecb1" args="(fsqmat &Inv)" --> |
---|
271 | <div class="memitem"> |
---|
272 | <div class="memproto"> |
---|
273 | <table class="memname"> |
---|
274 | <tr> |
---|
275 | <td class="memname">void fsqmat::inv </td> |
---|
276 | <td>(</td> |
---|
277 | <td class="paramtype"><a class="el" href="classfsqmat.html">fsqmat</a> & </td> |
---|
278 | <td class="paramname"> <em>Inv</em> </td> |
---|
279 | <td> ) </td> |
---|
280 | <td width="100%"><code> [virtual]</code></td> |
---|
281 | </tr> |
---|
282 | </table> |
---|
283 | </div> |
---|
284 | <div class="memdoc"> |
---|
285 | |
---|
286 | <p> |
---|
287 | Matrix inversion preserving the chosen form. |
---|
288 | <p> |
---|
289 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
290 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
291 | <tr><td valign="top"></td><td valign="top"><em>Inv</em> </td><td>a space where the inverse is stored. </td></tr> |
---|
292 | </table> |
---|
293 | </dl> |
---|
294 | |
---|
295 | <p>References <a class="el" href="libDC_8h-source.html#l00114">M</a>.</p> |
---|
296 | |
---|
297 | <p>Referenced by <a class="el" href="libKF_8h-source.html#l00364">EKF< sq_T >::bayes()</a>.</p> |
---|
298 | |
---|
299 | </div> |
---|
300 | </div><p> |
---|
301 | <a class="anchor" name="842a774077ee34ac3c36d180ab33e103"></a><!-- doxytag: member="fsqmat::sqrt_mult" ref="842a774077ee34ac3c36d180ab33e103" args="(const vec &v) const " --> |
---|
302 | <div class="memitem"> |
---|
303 | <div class="memproto"> |
---|
304 | <table class="memname"> |
---|
305 | <tr> |
---|
306 | <td class="memname">vec fsqmat::sqrt_mult </td> |
---|
307 | <td>(</td> |
---|
308 | <td class="paramtype">const vec & </td> |
---|
309 | <td class="paramname"> <em>v</em> </td> |
---|
310 | <td> ) </td> |
---|
311 | <td width="100%"> const<code> [inline, virtual]</code></td> |
---|
312 | </tr> |
---|
313 | </table> |
---|
314 | </div> |
---|
315 | <div class="memdoc"> |
---|
316 | |
---|
317 | <p> |
---|
318 | Multiplies square root of <img class="formulaInl" alt="$V$" src="form_27.png"> by vector <img class="formulaInl" alt="$x$" src="form_28.png">. |
---|
319 | <p> |
---|
320 | Used e.g. in generating normal samples. |
---|
321 | <p>Implements <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a>.</p> |
---|
322 | |
---|
323 | <p>References <a class="el" href="libDC_8h-source.html#l00114">M</a>.</p> |
---|
324 | |
---|
325 | </div> |
---|
326 | </div><p> |
---|
327 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
328 | <li>work/mixpp/bdm/math/<a class="el" href="libDC_8h-source.html">libDC.h</a><li>work/mixpp/bdm/math/libDC.cpp</ul> |
---|
329 | </div> |
---|
330 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 20:46:48 2008 for mixpp by |
---|
331 | <a href="http://www.doxygen.org/index.html"> |
---|
332 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> |
---|
333 | </body> |
---|
334 | </html> |
---|