root/library/doc/html/classbdm_1_1mlnorm.html @ 651

Revision 651, 22.6 kB (checked in by mido, 15 years ago)

\doc directory cleaned a bit

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::mlnorm&lt; sq_T, TEpdf &gt; Class Template 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.9 -->
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_1mlnorm.html">mlnorm</a>
67  </div>
68</div>
69<div class="contents">
70<h1>bdm::mlnorm&lt; sq_T, TEpdf &gt; Class Template Reference</h1><!-- doxytag: class="bdm::mlnorm" --><!-- doxytag: inherits="mpdf_internal&lt; TEpdf&lt; sq_T &gt; &gt;" -->Normal distributed linear function with linear function of mean value;. 
71<a href="#_details">More...</a>
72<p>
73<code>#include &lt;<a class="el" href="exp__family_8h_source.html">exp_family.h</a>&gt;</code>
74<p>
75
76<p>
77<a href="classbdm_1_1mlnorm-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_1mlnorm.html#c2895ae549ee76d961be98d7061bd110">condition</a> (const vec &amp;cond)</td></tr>
81
82<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6b0b4b0b17271525ad02660a4087cf7"></a><!-- doxytag: member="bdm::mlnorm::_mu_const" ref="f6b0b4b0b17271525ad02660a4087cf7" args="() const " -->
83const vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#f6b0b4b0b17271525ad02660a4087cf7">_mu_const</a> () const </td></tr>
84
85<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
86<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="55e1bd7fa70b852bd7fe50ce72fb8f23"></a><!-- doxytag: member="bdm::mlnorm::_A" ref="55e1bd7fa70b852bd7fe50ce72fb8f23" args="() const " -->
87const mat &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#55e1bd7fa70b852bd7fe50ce72fb8f23">_A</a> () const </td></tr>
88
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
90<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9af0714b7b29ab1162ebc3291b7c4a43"></a><!-- doxytag: member="bdm::mlnorm::_R" ref="9af0714b7b29ab1162ebc3291b7c4a43" args="() const " -->
91mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#9af0714b7b29ab1162ebc3291b7c4a43">_R</a> () const </td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
94<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#52980f13d80162d00b30d5864343f564">from_setting</a> (const Setting &amp;set)</td></tr>
95
96<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cafcb3fb9bad8ff5fd51897f6eb10924"></a><!-- doxytag: member="bdm::mlnorm::validate" ref="cafcb3fb9bad8ff5fd51897f6eb10924" args="()" -->
97void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#cafcb3fb9bad8ff5fd51897f6eb10924">validate</a> ()</td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br></td></tr>
100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b4d1cb8d7e230e313b4f0c905874d5a"></a><!-- doxytag: member="bdm::mlnorm::e" ref="6b4d1cb8d7e230e313b4f0c905874d5a" args="()" -->
101TEpdf&lt; sq_T &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#6b4d1cb8d7e230e313b4f0c905874d5a">e</a> ()</td></tr>
102
103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function to iepdf <br></td></tr>
104<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8e547695d1cc19219b91164d825c930"></a><!-- doxytag: member="bdm::mlnorm::samplecond" ref="d8e547695d1cc19219b91164d825c930" args="(const vec &amp;cond)" -->
105vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#d8e547695d1cc19219b91164d825c930">samplecond</a> (const vec &amp;cond)</td></tr>
106
107<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplements samplecond using <code>condition()</code>. <br></td></tr>
108<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89076e62b8d7df7616bad68c94591948"></a><!-- doxytag: member="bdm::mlnorm::evallogcond" ref="89076e62b8d7df7616bad68c94591948" args="(const vec &amp;val, const vec &amp;cond)" -->
109double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#89076e62b8d7df7616bad68c94591948">evallogcond</a> (const vec &amp;val, const vec &amp;cond)</td></tr>
110
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplements evallogcond using <code>condition()</code>. <br></td></tr>
112<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e28c214e3063733a6e4d17738941c61c"></a><!-- doxytag: member="bdm::mlnorm::evallogcond_m" ref="e28c214e3063733a6e4d17738941c61c" args="(const mat &amp;Dt, const vec &amp;cond)" -->
113virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#e28c214e3063733a6e4d17738941c61c">evallogcond_m</a> (const mat &amp;Dt, const vec &amp;cond)</td></tr>
114
115<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of evallogcond for matrices. <br></td></tr>
116<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e82db07ce8af02f29cfd81e014edb3db"></a><!-- doxytag: member="bdm::mlnorm::evallogcond_m" ref="e82db07ce8af02f29cfd81e014edb3db" args="(const Array&lt; vec &gt; &amp;Dt, const vec &amp;cond)" -->
117virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#e82db07ce8af02f29cfd81e014edb3db">evallogcond_m</a> (const Array&lt; vec &gt; &amp;Dt, const vec &amp;cond)</td></tr>
118
119<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of evallogcond for Array&lt;vec&gt;. <br></td></tr>
120<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9554c554054da2d22cb8e908ae9c8823"></a><!-- doxytag: member="bdm::mlnorm::samplecond_m" ref="9554c554054da2d22cb8e908ae9c8823" args="(const vec &amp;cond, int N)" -->
121virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">samplecond_m</a> (const vec &amp;cond, int N)</td></tr>
122
123<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of samplecond. <br></td></tr>
124<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::mlnorm::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" -->
125virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr>
126
127<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr>
128<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::mlnorm::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " -->
129virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr>
130
131<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr>
132<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
133<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2c6c35c450f460dca61bafa028d78a3e"></a><!-- doxytag: member="bdm::mlnorm::mlnorm" ref="2c6c35c450f460dca61bafa028d78a3e" args="()" -->
134&nbsp;</td><td class="memItemRight" valign="bottom"><b>mlnorm</b> ()</td></tr>
135
136<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="088469214275199448c32f841b74dd0f"></a><!-- doxytag: member="bdm::mlnorm::mlnorm" ref="088469214275199448c32f841b74dd0f" args="(const mat &amp;A, const vec &amp;mu0, const sq_T &amp;R)" -->
137&nbsp;</td><td class="memItemRight" valign="bottom"><b>mlnorm</b> (const mat &amp;<a class="el" href="classbdm_1_1mlnorm.html#c71bbf59fc732beb2b459d7117bd6e42">A</a>, const vec &amp;mu0, const sq_T &amp;R)</td></tr>
138
139<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="04f7c6cda7b2f95161dd5fbcf15d1fd5"></a><!-- doxytag: member="bdm::mlnorm::set_parameters" ref="04f7c6cda7b2f95161dd5fbcf15d1fd5" args="(const mat &amp;A0, const vec &amp;mu0, const sq_T &amp;R0)" -->
140void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#04f7c6cda7b2f95161dd5fbcf15d1fd5">set_parameters</a> (const mat &amp;A0, const vec &amp;mu0, const sq_T &amp;R0)</td></tr>
141
142<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set <code>A</code> and <code>R</code>. <br></td></tr>
143<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr>
144<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aa0095f80870f15209bca68a8a7bad8a"></a><!-- doxytag: member="bdm::mlnorm::_rv" ref="aa0095f80870f15209bca68a8a7bad8a" args="() const " -->
145const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr>
146
147<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="739d5202899bb56792a547c74e517a11"></a><!-- doxytag: member="bdm::mlnorm::_rvc" ref="739d5202899bb56792a547c74e517a11" args="() const " -->
148const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>_rvc</b> () const </td></tr>
149
150<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eea4a999ed9679181335927e9cb66d28"></a><!-- doxytag: member="bdm::mlnorm::dimension" ref="eea4a999ed9679181335927e9cb66d28" args="() const " -->
151int&nbsp;</td><td class="memItemRight" valign="bottom"><b>dimension</b> () const </td></tr>
152
153<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35e135910aed187b7290742f50e61bc8"></a><!-- doxytag: member="bdm::mlnorm::dimensionc" ref="35e135910aed187b7290742f50e61bc8" args="()" -->
154int&nbsp;</td><td class="memItemRight" valign="bottom"><b>dimensionc</b> ()</td></tr>
155
156<tr><td colspan="2"><div class="groupHeader">Connection to other objects</div></td></tr>
157<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7631a5570e4ade1420065e8df78f4401"></a><!-- doxytag: member="bdm::mlnorm::set_rvc" ref="7631a5570e4ade1420065e8df78f4401" args="(const RV &amp;rvc0)" -->
158void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_rvc</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rvc0)</td></tr>
159
160<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18ac26bc2f96ae01ef4eb06178abbd75"></a><!-- doxytag: member="bdm::mlnorm::set_rv" ref="18ac26bc2f96ae01ef4eb06178abbd75" args="(const RV &amp;rv0)" -->
161void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_rv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv0)</td></tr>
162
163<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f8e3798150b42fd1f3e16ddbbe0e7045"></a><!-- doxytag: member="bdm::mlnorm::isnamed" ref="f8e3798150b42fd1f3e16ddbbe0e7045" args="()" -->
164bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isnamed</b> ()</td></tr>
165
166<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
167<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::mlnorm::set_ep" ref="147afacb393324bb3f9a7a89e33f835e" args="(epdf &amp;iepdf)" -->
168void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#147afacb393324bb3f9a7a89e33f835e">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> &amp;<a class="el" href="classbdm_1_1mpdf__internal.html#47bab632af15120c88aad647ae129468">iepdf</a>)</td></tr>
169
170<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr>
171<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::mlnorm::set_ep" ref="7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" -->
172void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#7555b377f8b5895c9b759c9628ee3e20">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> *iepdfp)</td></tr>
173
174<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr>
175<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
176<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c71bbf59fc732beb2b459d7117bd6e42"></a><!-- doxytag: member="bdm::mlnorm::A" ref="c71bbf59fc732beb2b459d7117bd6e42" args="" -->
177mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#c71bbf59fc732beb2b459d7117bd6e42">A</a></td></tr>
178
179<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> that arise by conditioning on <code>rvc</code>. <br></td></tr>
180<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="831b50121cad10aa03a16682bd0c3ed6"></a><!-- doxytag: member="bdm::mlnorm::mu_const" ref="831b50121cad10aa03a16682bd0c3ed6" args="" -->
181vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#831b50121cad10aa03a16682bd0c3ed6">mu_const</a></td></tr>
182
183<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constant additive term. <br></td></tr>
184<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="47bab632af15120c88aad647ae129468"></a><!-- doxytag: member="bdm::mlnorm::iepdf" ref="47bab632af15120c88aad647ae129468" args="" -->
185TEpdf&lt; sq_T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#47bab632af15120c88aad647ae129468">iepdf</a></td></tr>
186
187<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal epdf used for sampling. <br></td></tr>
188<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::mlnorm::dimc" ref="7c1900976ff13dbc09c9729b3bbff9e6" args="" -->
189int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6">dimc</a></td></tr>
190
191<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the condition <br></td></tr>
192<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a5f08950daa08b85b01ddf4e1c36288"></a><!-- doxytag: member="bdm::mlnorm::rvc" ref="5a5f08950daa08b85b01ddf4e1c36288" args="" -->
193<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#5a5f08950daa08b85b01ddf4e1c36288">rvc</a></td></tr>
194
195<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">random variable in condition <br></td></tr>
196<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
197<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="75795ae374be737465498b98aebd1434"></a><!-- doxytag: member="bdm::mlnorm::operator&lt;&lt;" ref="75795ae374be737465498b98aebd1434" args="(std::ostream &amp;os, mlnorm&lt; sq_M, enorm &gt; &amp;ml)" -->
198template&lt;typename sq_M &gt; </td></tr>
199<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">std::ostream &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#75795ae374be737465498b98aebd1434">operator&lt;&lt;</a> (std::ostream &amp;os, <a class="el" href="classbdm_1_1mlnorm.html">mlnorm</a>&lt; sq_M, <a class="el" href="classbdm_1_1enorm.html">enorm</a> &gt; &amp;ml)</td></tr>
200
201<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Debug stream. <br></td></tr>
202</table>
203<hr><a name="_details"></a><h2>Detailed Description</h2>
204<h3>template&lt;class sq_T, template&lt; typename &gt; class TEpdf = enorm&gt;<br>
205 class bdm::mlnorm&lt; sq_T, TEpdf &gt;</h3>
206
207Normal distributed linear function with linear function of mean value;.
208<p>
209Mean value <img class="formulaInl" alt="$ \mu=A*\mbox{rvc}+\mu_0 $" src="form_82.png">. <hr><h2>Member Function Documentation</h2>
210<a class="anchor" name="c2895ae549ee76d961be98d7061bd110"></a><!-- doxytag: member="bdm::mlnorm::condition" ref="c2895ae549ee76d961be98d7061bd110" args="(const vec &amp;cond)" -->
211<div class="memitem">
212<div class="memproto">
213<div class="memtemplate">
214template&lt;class sq_T, template&lt; typename &gt; class TEpdf = enorm&gt; </div>
215      <table class="memname">
216        <tr>
217          <td class="memname">void <a class="el" href="classbdm_1_1mlnorm.html">bdm::mlnorm</a>&lt; sq_T, TEpdf &gt;::condition           </td>
218          <td>(</td>
219          <td class="paramtype">const vec &amp;&nbsp;</td>
220          <td class="paramname"> <em>cond</em>          </td>
221          <td>&nbsp;)&nbsp;</td>
222          <td><code> [inline, virtual]</code></td>
223        </tr>
224      </table>
225</div>
226<div class="memdoc">
227
228<p>
229Set value of <code>rvc</code> . Result of this operation is stored in <code><a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a></code> use function <code>_ep</code> to access it.
230<p>Reimplemented from <a class="el" href="classbdm_1_1mpdf__internal.html#1ac61da081667fc54bcd050cc4f6a93e">bdm::mpdf_internal&lt; TEpdf&lt; sq_T &gt; &gt;</a>.</p>
231
232<p>Reimplemented in <a class="el" href="classbdm_1_1mlstudent.html#efd37560585c8613897f30d3c2f58d0d">bdm::mlstudent</a>.</p>
233
234</div>
235</div><p>
236<a class="anchor" name="52980f13d80162d00b30d5864343f564"></a><!-- doxytag: member="bdm::mlnorm::from_setting" ref="52980f13d80162d00b30d5864343f564" args="(const Setting &amp;set)" -->
237<div class="memitem">
238<div class="memproto">
239<div class="memtemplate">
240template&lt;class sq_T, template&lt; typename &gt; class TEpdf = enorm&gt; </div>
241      <table class="memname">
242        <tr>
243          <td class="memname">void <a class="el" href="classbdm_1_1mlnorm.html">bdm::mlnorm</a>&lt; sq_T, TEpdf &gt;::from_setting           </td>
244          <td>(</td>
245          <td class="paramtype">const Setting &amp;&nbsp;</td>
246          <td class="paramname"> <em>set</em>          </td>
247          <td>&nbsp;)&nbsp;</td>
248          <td><code> [inline, virtual]</code></td>
249        </tr>
250      </table>
251</div>
252<div class="memdoc">
253
254<p>
255Create Normal density with linear function of mean value <p class="formulaDsp">
256<img class="formulaDsp" alt="\[ f(rv|rvc) = N(A*rvc+const, R) \]" src="form_168.png">
257<p>
258 from structure <div class="fragment"><pre class="fragment">                <span class="keyword">class </span>= 'mlnorm&lt;ldmat&gt;', (OR) 'mlnorm&lt;chmat&gt;', (OR) 'mlnorm&lt;fsqmat&gt;';
259                A     = [];                  <span class="comment">// matrix or vector of appropriate dimension</span>
260                <span class="keyword">const</span> = [];                  <span class="comment">// vector of constant term</span>
261                R     = [];                  <span class="comment">// square matrix of appropriate dimension</span>
262</pre></div> 
263<p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#30a0bceb948e287d497c578e371b1667">bdm::mpdf</a>.</p>
264
265<p>Referenced by <a class="el" href="exp__family_8h_source.html#l00691">bdm::mlnorm&lt; ldmat, enorm &gt;::from_setting()</a>.</p>
266
267</div>
268</div><p>
269<hr>The documentation for this class was generated from the following file:<ul>
270<li><a class="el" href="exp__family_8h_source.html">exp_family.h</a></ul>
271</div>
272<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 17:34:48 2009 for mixpp by&nbsp;
273<a href="http://www.doxygen.org/index.html">
274<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
275</body>
276</html>
Note: See TracBrowser for help on using the browser.