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::chmat 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 | <!-- |
---|
10 | function 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 | } |
---|
22 | function 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 | } |
---|
46 | window.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 Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related 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 List</span></a></li> |
---|
61 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
62 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
63 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
64 | </ul> |
---|
65 | </div> |
---|
66 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1chmat.html">chmat</a> |
---|
67 | </div> |
---|
68 | </div> |
---|
69 | <div class="contents"> |
---|
70 | <h1>bdm::chmat Class Reference</h1><!-- doxytag: class="bdm::chmat" --><!-- doxytag: inherits="bdm::sqmat" -->Symmetric matrix stored in square <a class="el" href="classbdm_1_1root.html" title="Root class of BDM objects.">root</a> decomposition using upper cholesky. |
---|
71 | <a href="#_details">More...</a> |
---|
72 | <p> |
---|
73 | <code>#include <<a class="el" href="chmat_8h-source.html">chmat.h</a>></code> |
---|
74 | <p> |
---|
75 | |
---|
76 | <p> |
---|
77 | <a href="classbdm_1_1chmat-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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#bea30d9ae395363e5aef36f6359b15fd">opupdt</a> (const vec &v, double w)</td></tr> |
---|
81 | |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4b4c5d4dbb8a3d585b68d936cb6df31b"></a><!-- doxytag: member="bdm::chmat::to_mat" ref="4b4c5d4dbb8a3d585b68d936cb6df31b" args="() const " --> |
---|
83 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#4b4c5d4dbb8a3d585b68d936cb6df31b">to_mat</a> () const </td></tr> |
---|
84 | |
---|
85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Conversion to full matrix. <br></td></tr> |
---|
86 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#832d1a18bbf33ee7681adf01d5d08e21">mult_sym</a> (const mat &C)</td></tr> |
---|
87 | |
---|
88 | <tr><td class="mdescLeft"> </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="#832d1a18bbf33ee7681adf01d5d08e21"></a><br></td></tr> |
---|
89 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c0bf9168129004c4017d32fe1dc45816"></a><!-- doxytag: member="bdm::chmat::mult_sym" ref="c0bf9168129004c4017d32fe1dc45816" args="(const mat &C, chmat &U) const " --> |
---|
90 | void </td><td class="memItemRight" valign="bottom"><b>mult_sym</b> (const mat &C, <a class="el" href="classbdm_1_1chmat.html">chmat</a> &U) const </td></tr> |
---|
91 | |
---|
92 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#7a4f54f1ea8b802f318de77a78f6ddb0">mult_sym_t</a> (const mat &C)</td></tr> |
---|
93 | |
---|
94 | <tr><td class="mdescLeft"> </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="#7a4f54f1ea8b802f318de77a78f6ddb0"></a><br></td></tr> |
---|
95 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78a18034a874d46b034f29a7e5d42f3b"></a><!-- doxytag: member="bdm::chmat::mult_sym_t" ref="78a18034a874d46b034f29a7e5d42f3b" args="(const mat &C, chmat &U) const " --> |
---|
96 | void </td><td class="memItemRight" valign="bottom"><b>mult_sym_t</b> (const mat &C, <a class="el" href="classbdm_1_1chmat.html">chmat</a> &U) const </td></tr> |
---|
97 | |
---|
98 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="949ccd174ed19f9cfe36366cbd5c56a4"></a><!-- doxytag: member="bdm::chmat::logdet" ref="949ccd174ed19f9cfe36366cbd5c56a4" args="() const " --> |
---|
99 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#949ccd174ed19f9cfe36366cbd5c56a4">logdet</a> () const </td></tr> |
---|
100 | |
---|
101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of a determinant. <br></td></tr> |
---|
102 | <tr><td class="memItemLeft" nowrap align="right" valign="top">vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#ec8d3a1cbf3b50183f246a858663c92d">sqrt_mult</a> (const vec &v) const </td></tr> |
---|
103 | |
---|
104 | <tr><td class="mdescLeft"> </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="#ec8d3a1cbf3b50183f246a858663c92d"></a><br></td></tr> |
---|
105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6e0aee9691909602d341fe5ebd1f1ca8"></a><!-- doxytag: member="bdm::chmat::qform" ref="6e0aee9691909602d341fe5ebd1f1ca8" args="(const vec &v) const " --> |
---|
106 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#6e0aee9691909602d341fe5ebd1f1ca8">qform</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'*V*v$" src="form_56.png">;. <br></td></tr> |
---|
109 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ac8d00a14a22a21760a8374fe5c5757"></a><!-- doxytag: member="bdm::chmat::invqform" ref="3ac8d00a14a22a21760a8374fe5c5757" args="(const vec &v) const " --> |
---|
110 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#3ac8d00a14a22a21760a8374fe5c5757">invqform</a> (const vec &v) const </td></tr> |
---|
111 | |
---|
112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates quadratic form <img class="formulaInl" alt="$x= v'*inv(V)*v$" src="form_57.png">;. <br></td></tr> |
---|
113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc753cb54aa8946ce41d95e82fc148b5"></a><!-- doxytag: member="bdm::chmat::clear" ref="bc753cb54aa8946ce41d95e82fc148b5" args="()" --> |
---|
114 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#bc753cb54aa8946ce41d95e82fc148b5">clear</a> ()</td></tr> |
---|
115 | |
---|
116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Clearing matrix so that it corresponds to zeros. <br></td></tr> |
---|
117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b3d5b772f791fc7c5df544a418278c7"></a><!-- doxytag: member="bdm::chmat::add" ref="6b3d5b772f791fc7c5df544a418278c7" args="(const chmat &A2, double w=1.0)" --> |
---|
118 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#6b3d5b772f791fc7c5df544a418278c7">add</a> (const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &A2, double w=1.0)</td></tr> |
---|
119 | |
---|
120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">add another <a class="el" href="classbdm_1_1chmat.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> |
---|
121 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cbf3389db96dff41fb2e9532d59b13c0"></a><!-- doxytag: member="bdm::chmat::inv" ref="cbf3389db96dff41fb2e9532d59b13c0" args="(chmat &Inv) const " --> |
---|
122 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#cbf3389db96dff41fb2e9532d59b13c0">inv</a> (<a class="el" href="classbdm_1_1chmat.html">chmat</a> &Inv) const </td></tr> |
---|
123 | |
---|
124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Inversion in the same form, i.e. cholesky. <br></td></tr> |
---|
125 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a888e866a163bffe94b51e58af65901b"></a><!-- doxytag: member="bdm::chmat::~chmat" ref="a888e866a163bffe94b51e58af65901b" args="()" --> |
---|
126 | virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#a888e866a163bffe94b51e58af65901b">~chmat</a> ()</td></tr> |
---|
127 | |
---|
128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor for future use;. <br></td></tr> |
---|
129 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="947c52c64022ef364d8ef17c94a65ef1"></a><!-- doxytag: member="bdm::chmat::chmat" ref="947c52c64022ef364d8ef17c94a65ef1" args="(const int dim0)" --> |
---|
130 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#947c52c64022ef364d8ef17c94a65ef1">chmat</a> (const int dim0)</td></tr> |
---|
131 | |
---|
132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
---|
133 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae4dd65ff29d7d951b18903b100bd39d"></a><!-- doxytag: member="bdm::chmat::chmat" ref="ae4dd65ff29d7d951b18903b100bd39d" args="(const vec &v)" --> |
---|
134 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#ae4dd65ff29d7d951b18903b100bd39d">chmat</a> (const vec &v)</td></tr> |
---|
135 | |
---|
136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
---|
137 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="57513fca80f91194faf90297f2ab2b24"></a><!-- doxytag: member="bdm::chmat::chmat" ref="57513fca80f91194faf90297f2ab2b24" args="(const chmat &Ch0)" --> |
---|
138 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#57513fca80f91194faf90297f2ab2b24">chmat</a> (const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &Ch0)</td></tr> |
---|
139 | |
---|
140 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <br></td></tr> |
---|
141 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="796ee52e1343bc53d278f17c55bb1cc7"></a><!-- doxytag: member="bdm::chmat::chmat" ref="796ee52e1343bc53d278f17c55bb1cc7" args="(const mat &M)" --> |
---|
142 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#796ee52e1343bc53d278f17c55bb1cc7">chmat</a> (const mat &M)</td></tr> |
---|
143 | |
---|
144 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor (m3k:cholform). <br></td></tr> |
---|
145 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c4e675e7efd91f78faa3dcf23aec153"></a><!-- doxytag: member="bdm::chmat::chmat" ref="3c4e675e7efd91f78faa3dcf23aec153" args="(const chmat &M, const ivec &perm)" --> |
---|
146 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#3c4e675e7efd91f78faa3dcf23aec153">chmat</a> (const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &M, const ivec &perm)</td></tr> |
---|
147 | |
---|
148 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br></td></tr> |
---|
149 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="17daa8c5c5914bd3194cb3053c5793a5"></a><!-- doxytag: member="bdm::chmat::_Ch" ref="17daa8c5c5914bd3194cb3053c5793a5" args="()" --> |
---|
150 | mat & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#17daa8c5c5914bd3194cb3053c5793a5">_Ch</a> ()</td></tr> |
---|
151 | |
---|
152 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access function. <br></td></tr> |
---|
153 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3e9e137c1a6f46d13c2b6790cfddaa92"></a><!-- doxytag: member="bdm::chmat::_Ch" ref="3e9e137c1a6f46d13c2b6790cfddaa92" args="() const " --> |
---|
154 | const mat & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#3e9e137c1a6f46d13c2b6790cfddaa92">_Ch</a> () const </td></tr> |
---|
155 | |
---|
156 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access function. <br></td></tr> |
---|
157 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b192df5b54b173ba9bc6922ee9983bc9"></a><!-- doxytag: member="bdm::chmat::setD" ref="b192df5b54b173ba9bc6922ee9983bc9" args="(const vec &nD)" --> |
---|
158 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#b192df5b54b173ba9bc6922ee9983bc9">setD</a> (const vec &nD)</td></tr> |
---|
159 | |
---|
160 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access functions. <br></td></tr> |
---|
161 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b8fd18754b0e5e0463f818cd16c710c8"></a><!-- doxytag: member="bdm::chmat::setCh" ref="b8fd18754b0e5e0463f818cd16c710c8" args="(const vec &chQ)" --> |
---|
162 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#b8fd18754b0e5e0463f818cd16c710c8">setCh</a> (const vec &chQ)</td></tr> |
---|
163 | |
---|
164 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access functions. <br></td></tr> |
---|
165 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18f4b97bde650086fe5e3d9461a13514"></a><!-- doxytag: member="bdm::chmat::setD" ref="18f4b97bde650086fe5e3d9461a13514" args="(const vec &nD, int i)" --> |
---|
166 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#18f4b97bde650086fe5e3d9461a13514">setD</a> (const vec &nD, int i)</td></tr> |
---|
167 | |
---|
168 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access functions. <br></td></tr> |
---|
169 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbdm_1_1chmat.html">chmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#029a0997afc656fde0c73bbf7724aca9">operator+=</a> (const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &A2)</td></tr> |
---|
170 | |
---|
171 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Operators. <a href="#029a0997afc656fde0c73bbf7724aca9"></a><br></td></tr> |
---|
172 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f1d0180fb795d38b8c352df2686ec5ba"></a><!-- doxytag: member="bdm::chmat::operator-=" ref="f1d0180fb795d38b8c352df2686ec5ba" args="(const chmat &A2)" --> |
---|
173 | <a class="el" href="classbdm_1_1chmat.html">chmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#f1d0180fb795d38b8c352df2686ec5ba">operator-=</a> (const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &A2)</td></tr> |
---|
174 | |
---|
175 | <tr><td class="mdescLeft"> </td><td class="mdescRight">mapping of negative add operation to operators <br></td></tr> |
---|
176 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62ce85eb2461b51821c0d8507dfb9e95"></a><!-- doxytag: member="bdm::chmat::operator*" ref="62ce85eb2461b51821c0d8507dfb9e95" args="(const double &d)" --> |
---|
177 | <a class="el" href="classbdm_1_1chmat.html">chmat</a> & </td><td class="memItemRight" valign="bottom"><b>operator*</b> (const double &d)</td></tr> |
---|
178 | |
---|
179 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8727d34435b7aa241c47a7b2fc0bed16"></a><!-- doxytag: member="bdm::chmat::operator=" ref="8727d34435b7aa241c47a7b2fc0bed16" args="(const chmat &A2)" --> |
---|
180 | <a class="el" href="classbdm_1_1chmat.html">chmat</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &A2)</td></tr> |
---|
181 | |
---|
182 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b05aac3f788d953a78c96295a6ad3d3b"></a><!-- doxytag: member="bdm::chmat::operator*=" ref="b05aac3f788d953a78c96295a6ad3d3b" args="(double x)" --> |
---|
183 | <a class="el" href="classbdm_1_1chmat.html">chmat</a> & </td><td class="memItemRight" valign="bottom"><b>operator*=</b> (double x)</td></tr> |
---|
184 | |
---|
185 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="445ef762cf5d2d6cfdf53c72942363cf"></a><!-- doxytag: member="bdm::chmat::cols" ref="445ef762cf5d2d6cfdf53c72942363cf" args="() const " --> |
---|
186 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1sqmat.html#445ef762cf5d2d6cfdf53c72942363cf">cols</a> () const </td></tr> |
---|
187 | |
---|
188 | <tr><td class="mdescLeft"> </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> |
---|
189 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="73e639221343dcce76c3305524d67590"></a><!-- doxytag: member="bdm::chmat::rows" ref="73e639221343dcce76c3305524d67590" args="() const " --> |
---|
190 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1sqmat.html#73e639221343dcce76c3305524d67590">rows</a> () const </td></tr> |
---|
191 | |
---|
192 | <tr><td class="mdescLeft"> </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> |
---|
193 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
194 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3e4f39b1895a0a870f8db98329635223"></a><!-- doxytag: member="bdm::chmat::Ch" ref="3e4f39b1895a0a870f8db98329635223" args="" --> |
---|
195 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1chmat.html#3e4f39b1895a0a870f8db98329635223">Ch</a></td></tr> |
---|
196 | |
---|
197 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Upper triangle of the cholesky matrix. <br></td></tr> |
---|
198 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="05111b5744a494880e62cb0f3d42293f"></a><!-- doxytag: member="bdm::chmat::dim" ref="05111b5744a494880e62cb0f3d42293f" args="" --> |
---|
199 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1sqmat.html#05111b5744a494880e62cb0f3d42293f">dim</a></td></tr> |
---|
200 | |
---|
201 | <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the square matrix <br></td></tr> |
---|
202 | </table> |
---|
203 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
204 | Symmetric matrix stored in square <a class="el" href="classbdm_1_1root.html" title="Root class of BDM objects.">root</a> decomposition using upper cholesky. |
---|
205 | <p> |
---|
206 | This matrix represent <img class="formulaInl" alt="$A=Ch' Ch$" src="form_38.png"> where only the upper triangle <img class="formulaInl" alt="$Ch$" src="form_39.png"> is stored; <hr><h2>Member Function Documentation</h2> |
---|
207 | <a class="anchor" name="832d1a18bbf33ee7681adf01d5d08e21"></a><!-- doxytag: member="bdm::chmat::mult_sym" ref="832d1a18bbf33ee7681adf01d5d08e21" args="(const mat &C)" --> |
---|
208 | <div class="memitem"> |
---|
209 | <div class="memproto"> |
---|
210 | <table class="memname"> |
---|
211 | <tr> |
---|
212 | <td class="memname">void bdm::chmat::mult_sym </td> |
---|
213 | <td>(</td> |
---|
214 | <td class="paramtype">const mat & </td> |
---|
215 | <td class="paramname"> <em>C</em> </td> |
---|
216 | <td> ) </td> |
---|
217 | <td><code> [virtual]</code></td> |
---|
218 | </tr> |
---|
219 | </table> |
---|
220 | </div> |
---|
221 | <div class="memdoc"> |
---|
222 | |
---|
223 | <p> |
---|
224 | 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">. |
---|
225 | <p> |
---|
226 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
227 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
228 | <tr><td valign="top"></td><td valign="top"><em>C</em> </td><td>multiplying matrix, </td></tr> |
---|
229 | </table> |
---|
230 | </dl> |
---|
231 | |
---|
232 | <p>Implements <a class="el" href="classbdm_1_1sqmat.html#742581db1f8ce9602ec1c3e6373e499c">bdm::sqmat</a>.</p> |
---|
233 | |
---|
234 | <p>References <a class="el" href="chmat_8h-source.html#l00030">Ch</a>, and <a class="el" href="square__mat_8h-source.html#l00108">bdm::sqmat::dim</a>.</p> |
---|
235 | |
---|
236 | </div> |
---|
237 | </div><p> |
---|
238 | <a class="anchor" name="7a4f54f1ea8b802f318de77a78f6ddb0"></a><!-- doxytag: member="bdm::chmat::mult_sym_t" ref="7a4f54f1ea8b802f318de77a78f6ddb0" args="(const mat &C)" --> |
---|
239 | <div class="memitem"> |
---|
240 | <div class="memproto"> |
---|
241 | <table class="memname"> |
---|
242 | <tr> |
---|
243 | <td class="memname">void bdm::chmat::mult_sym_t </td> |
---|
244 | <td>(</td> |
---|
245 | <td class="paramtype">const mat & </td> |
---|
246 | <td class="paramname"> <em>C</em> </td> |
---|
247 | <td> ) </td> |
---|
248 | <td><code> [virtual]</code></td> |
---|
249 | </tr> |
---|
250 | </table> |
---|
251 | </div> |
---|
252 | <div class="memdoc"> |
---|
253 | |
---|
254 | <p> |
---|
255 | 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">. |
---|
256 | <p> |
---|
257 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
258 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
259 | <tr><td valign="top"></td><td valign="top"><em>C</em> </td><td>multiplying matrix, </td></tr> |
---|
260 | </table> |
---|
261 | </dl> |
---|
262 | |
---|
263 | <p>Implements <a class="el" href="classbdm_1_1sqmat.html#2db6f35ac14e6d1d905b4100e4c13743">bdm::sqmat</a>.</p> |
---|
264 | |
---|
265 | <p>References <a class="el" href="chmat_8h-source.html#l00030">Ch</a>, and <a class="el" href="square__mat_8h-source.html#l00108">bdm::sqmat::dim</a>.</p> |
---|
266 | |
---|
267 | </div> |
---|
268 | </div><p> |
---|
269 | <a class="anchor" name="029a0997afc656fde0c73bbf7724aca9"></a><!-- doxytag: member="bdm::chmat::operator+=" ref="029a0997afc656fde0c73bbf7724aca9" args="(const chmat &A2)" --> |
---|
270 | <div class="memitem"> |
---|
271 | <div class="memproto"> |
---|
272 | <table class="memname"> |
---|
273 | <tr> |
---|
274 | <td class="memname"><a class="el" href="classbdm_1_1chmat.html">chmat</a> & bdm::chmat::operator+= </td> |
---|
275 | <td>(</td> |
---|
276 | <td class="paramtype">const <a class="el" href="classbdm_1_1chmat.html">chmat</a> & </td> |
---|
277 | <td class="paramname"> <em>A2</em> </td> |
---|
278 | <td> ) </td> |
---|
279 | <td><code> [inline]</code></td> |
---|
280 | </tr> |
---|
281 | </table> |
---|
282 | </div> |
---|
283 | <div class="memdoc"> |
---|
284 | |
---|
285 | <p> |
---|
286 | Operators. |
---|
287 | <p> |
---|
288 | Operations: mapping of add operation to operators |
---|
289 | </div> |
---|
290 | </div><p> |
---|
291 | <a class="anchor" name="bea30d9ae395363e5aef36f6359b15fd"></a><!-- doxytag: member="bdm::chmat::opupdt" ref="bea30d9ae395363e5aef36f6359b15fd" args="(const vec &v, double w)" --> |
---|
292 | <div class="memitem"> |
---|
293 | <div class="memproto"> |
---|
294 | <table class="memname"> |
---|
295 | <tr> |
---|
296 | <td class="memname">void bdm::chmat::opupdt </td> |
---|
297 | <td>(</td> |
---|
298 | <td class="paramtype">const vec & </td> |
---|
299 | <td class="paramname"> <em>v</em>, </td> |
---|
300 | </tr> |
---|
301 | <tr> |
---|
302 | <td class="paramkey"></td> |
---|
303 | <td></td> |
---|
304 | <td class="paramtype">double </td> |
---|
305 | <td class="paramname"> <em>w</em></td><td> </td> |
---|
306 | </tr> |
---|
307 | <tr> |
---|
308 | <td></td> |
---|
309 | <td>)</td> |
---|
310 | <td></td><td></td><td><code> [virtual]</code></td> |
---|
311 | </tr> |
---|
312 | </table> |
---|
313 | </div> |
---|
314 | <div class="memdoc"> |
---|
315 | |
---|
316 | <p> |
---|
317 | Perfroms 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> |
---|
318 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
319 | <tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>Vector forming the outer product to be added </td></tr> |
---|
320 | <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>weight of updating; can be negative</td></tr> |
---|
321 | </table> |
---|
322 | </dl> |
---|
323 | BLAS-2b operation. |
---|
324 | <p>Implements <a class="el" href="classbdm_1_1sqmat.html#cb3b3eef10b0c1f41ead717d3ad40ec5">bdm::sqmat</a>.</p> |
---|
325 | |
---|
326 | <p>References <a class="el" href="chmat_8h-source.html#l00030">Ch</a>.</p> |
---|
327 | |
---|
328 | </div> |
---|
329 | </div><p> |
---|
330 | <a class="anchor" name="ec8d3a1cbf3b50183f246a858663c92d"></a><!-- doxytag: member="bdm::chmat::sqrt_mult" ref="ec8d3a1cbf3b50183f246a858663c92d" args="(const vec &v) const " --> |
---|
331 | <div class="memitem"> |
---|
332 | <div class="memproto"> |
---|
333 | <table class="memname"> |
---|
334 | <tr> |
---|
335 | <td class="memname">vec bdm::chmat::sqrt_mult </td> |
---|
336 | <td>(</td> |
---|
337 | <td class="paramtype">const vec & </td> |
---|
338 | <td class="paramname"> <em>v</em> </td> |
---|
339 | <td> ) </td> |
---|
340 | <td> const<code> [virtual]</code></td> |
---|
341 | </tr> |
---|
342 | </table> |
---|
343 | </div> |
---|
344 | <div class="memdoc"> |
---|
345 | |
---|
346 | <p> |
---|
347 | 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">. |
---|
348 | <p> |
---|
349 | Used e.g. in generating normal samples. |
---|
350 | <p>Implements <a class="el" href="classbdm_1_1sqmat.html#608bfff59854833f1acfccdbd346832a">bdm::sqmat</a>.</p> |
---|
351 | |
---|
352 | <p>References <a class="el" href="chmat_8h-source.html#l00030">Ch</a>.</p> |
---|
353 | |
---|
354 | </div> |
---|
355 | </div><p> |
---|
356 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
357 | <li><a class="el" href="chmat_8h-source.html">chmat.h</a><li>chmat.cpp</ul> |
---|
358 | </div> |
---|
359 | <hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 16 17:58:19 2009 for mixpp by |
---|
360 | <a href="http://www.doxygen.org/index.html"> |
---|
361 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
362 | </body> |
---|
363 | </html> |
---|