Show
Ignore:
Timestamp:
09/16/09 22:52:42 (15 years ago)
Author:
smidl
Message:

doc - new pattern for from_setting for pdfs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/doc/html/classbdm_1_1mgnorm.html

    r617 r621  
    9595<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Update <code>iepdf</code> so that it represents this <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where  is random variable, rv, and...">mpdf</a> conditioned on <code>rvc</code> = cond This function provides convenient reimplementation in offsprings. <br/></td></tr> 
    9696<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mgnorm.html#ad717dacc6a9eb967f8410994dc6dc6f9">from_setting</a> (const Setting &amp;set)</td></tr> 
     97<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5cbae3b521d010016af26a3a3124158"></a><!-- doxytag: member="bdm::mgnorm::validate" ref="aa5cbae3b521d010016af26a3a3124158" args="()" --> 
     98void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mgnorm.html#aa5cbae3b521d010016af26a3a3124158">validate</a> ()</td></tr> 
     99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br/></td></tr> 
    97100<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b4d1cb8d7e230e313b4f0c905874d5a"></a><!-- doxytag: member="bdm::mgnorm::e" ref="a6b4d1cb8d7e230e313b4f0c905874d5a" args="()" --> 
    98101<a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; sq_T &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a6b4d1cb8d7e230e313b4f0c905874d5a">e</a> ()</td></tr> 
     
    119122virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr> 
    120123<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> 
    121 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::mgnorm::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> 
    122 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> 
    123 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br/></td></tr> 
    124124<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 
    125125<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p> 
     
    178178</div> 
    179179<div class="memdoc"> 
    180 <p><a class="el" href="classbdm_1_1UI.html" title="UI is an abstract class which collects all the auxiliary functions useful to prepare...">UI</a> for <a class="el" href="classbdm_1_1mgnorm.html" title="Mpdf with general function for mean value.">mgnorm</a></p> 
    181 <p>The <a class="el" href="classbdm_1_1mgnorm.html" title="Mpdf with general function for mean value.">mgnorm</a> is constructed from a structure with fields: </p> 
    182 <div class="fragment"><pre class="fragment">                system = { 
    183                         type = <span class="stringliteral">&quot;mgnorm&quot;</span>; 
    184                         <span class="comment">// function for mean value evolution</span> 
    185                         g = {type=<span class="stringliteral">&quot;fnc&quot;</span>; ... } 
    186  
    187                         <span class="comment">// variance</span> 
    188                         R = [1, 0, 
    189                                  0, 1]; 
    190                         <span class="comment">// --OR --</span> 
    191                         dR = [1, 1]; 
    192  
    193                         <span class="comment">// == OPTIONAL ==</span> 
    194  
    195                         <span class="comment">// description of y variables</span> 
    196                         y = {type=<span class="stringliteral">&quot;rv&quot;</span>; names=[<span class="stringliteral">&quot;y&quot;</span>, <span class="stringliteral">&quot;u&quot;</span>];}; 
    197                         <span class="comment">// description of u variable</span> 
    198                         u = {type=<span class="stringliteral">&quot;rv&quot;</span>; names=[];} 
    199                 }; 
    200 </pre></div><p>Result if </p> 
    201  
     180<p>Create Normal density with given function of mean value </p> 
     181<p class="formulaDsp"> 
     182<img class="formulaDsp" alt="\[ f(rv|rvc) = N( g(rvc), R) \]" src="form_169.png"/> 
     183</p> 
     184<p> from structure </p> 
     185<div class="fragment"><pre class="fragment">                <span class="keyword">class </span>= &apos;<a class="code" href="classbdm_1_1mgnorm.html#a1b014915d74470d3efab74e07cacb97d" title="default constructor">mgnorm</a>&apos;; 
     186                g.class =  <span class="stringliteral">&apos;fnc&apos;</span>;      <span class="comment">// function for mean value evolution</span> 
     187                g._fields_of_fnc = ...; 
     188 
     189                R = [1, 0;             <span class="comment">// covariance matrix</span> 
     190                        0, 1]; 
     191                        --OR -- 
     192                dR = [1, 1];           <span class="comment">// diagonal of cavariance matrix</span> 
     193 
     194                rv = RV({<span class="stringliteral">&apos;name&apos;</span>})      <span class="comment">// description of RV</span> 
     195                <a class="code" href="classbdm_1_1mpdf.html#a5a5f08950daa08b85b01ddf4e1c36288" title="random variable in condition">rvc</a> = RV({<span class="stringliteral">&apos;name&apos;</span>})     <span class="comment">// description of RV in condition</span> 
     196</pre></div>  
    202197<p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#a30a0bceb948e287d497c578e371b1667">bdm::mpdf</a>.</p> 
    203198 
    204 <p>References <a class="el" href="user__info_8h_source.html#l00443">bdm::UI::get()</a>, and <a class="el" href="exp__family_8h_source.html#l01380">bdm::mgnorm&lt; sq_T &gt;::set_parameters()</a>.</p> 
     199<p>References <a class="el" href="user__info_8h_source.html#l00443">bdm::UI::get()</a>, <a class="el" href="exp__family_8h_source.html#l01399">bdm::mgnorm&lt; sq_T &gt;::set_parameters()</a>, and <a class="el" href="exp__family_8h_source.html#l00691">bdm::mgnorm&lt; sq_T &gt;::validate()</a>.</p> 
    205200 
    206201</div> 
     
    210205</ul> 
    211206</div> 
    212 <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 15 23:42:49 2009 for mixpp by&nbsp; 
     207<hr size="1"/><address style="text-align: right;"><small>Generated on Wed Sep 16 22:33:34 2009 for mixpp by&nbsp; 
    213208<a href="http://www.doxygen.org/index.html"> 
    214209<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>