73 | | <h1>bdm::mepdf Class Reference</h1><!-- doxytag: class="bdm::mepdf" --><!-- doxytag: inherits="bdm::mpdf" --> |
74 | | <p>Unconditional <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>, allows using <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> in the role of <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>. |
75 | | <a href="#_details">More...</a></p> |
76 | | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
77 | | <p>Unconditional <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>, allows using <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> in the role of <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>. </p> |
78 | | |
79 | | <p><code>#include <<a class="el" href="bdmbase_8h_source.html">bdmbase.h</a>></code></p> |
80 | | |
81 | | <p><a href="classbdm_1_1mepdf-members.html">List of all members.</a></p> |
82 | | <table border="0" cellpadding="0" cellspacing="0"> |
83 | | <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
84 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a2b01e7bb510c6b8946757cae6c9155"></a><!-- doxytag: member="bdm::mepdf::mepdf" ref="a4a2b01e7bb510c6b8946757cae6c9155" args="()" --> |
85 | | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#a4a2b01e7bb510c6b8946757cae6c9155">mepdf</a> ()</td></tr> |
86 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br/></td></tr> |
87 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f94e70702ff676f53d95ca7ec38e25c"></a><!-- doxytag: member="bdm::mepdf::mepdf" ref="a1f94e70702ff676f53d95ca7ec38e25c" args="(shared_ptr< epdf > em)" --> |
88 | | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#a1f94e70702ff676f53d95ca7ec38e25c">mepdf</a> (<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1epdf.html">epdf</a> > em)</td></tr> |
89 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set internal shared pointer. <br/></td></tr> |
90 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab904a90ef78294040b498717cc13015e"></a><!-- doxytag: member="bdm::mepdf::samplecond" ref="ab904a90ef78294040b498717cc13015e" args="(const vec &cond)" --> |
91 | | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#ab904a90ef78294040b498717cc13015e">samplecond</a> (const vec &cond)</td></tr> |
92 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">empty <br/></td></tr> |
93 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57decd7718f3789e9d1f10f19def935b"></a><!-- doxytag: member="bdm::mepdf::evallogcond" ref="a57decd7718f3789e9d1f10f19def935b" args="(const vec &val, const vec &cond)" --> |
94 | | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#a57decd7718f3789e9d1f10f19def935b">evallogcond</a> (const vec &val, const vec &cond)</td></tr> |
95 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut for conditioning and evaluation of the internal <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. In some cases, this operation can be implemented efficiently. <br/></td></tr> |
96 | | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#a27ef18a3e3b1b5de02739d1324bf25fb">from_setting</a> (const Setting &set)</td></tr> |
97 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load from structure with elements:. <a href="#a27ef18a3e3b1b5de02739d1324bf25fb"></a><br/></td></tr> |
98 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::mepdf::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> |
99 | | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
100 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> |
101 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::mepdf::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
102 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
103 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> |
104 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::mepdf::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
105 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
106 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br/></td></tr> |
| 70 | <h1>bdm::mepdf Class Reference</h1><!-- doxytag: class="bdm::mepdf" --><!-- doxytag: inherits="bdm::mpdf" -->Unconditional <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>, allows using <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> in the role of <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>. |
| 71 | <a href="#_details">More...</a> |
| 72 | <p> |
| 73 | <code>#include <<a class="el" href="bdmbase_8h_source.html">bdmbase.h</a>></code> |
| 74 | <p> |
| 75 | |
| 76 | <p> |
| 77 | <a href="classbdm_1_1mepdf-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"><a class="anchor" name="4a2b01e7bb510c6b8946757cae6c9155"></a><!-- doxytag: member="bdm::mepdf::mepdf" ref="4a2b01e7bb510c6b8946757cae6c9155" args="()" --> |
| 81 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#4a2b01e7bb510c6b8946757cae6c9155">mepdf</a> ()</td></tr> |
| 82 | |
| 83 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
| 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1f94e70702ff676f53d95ca7ec38e25c"></a><!-- doxytag: member="bdm::mepdf::mepdf" ref="1f94e70702ff676f53d95ca7ec38e25c" args="(shared_ptr< epdf > em)" --> |
| 85 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#1f94e70702ff676f53d95ca7ec38e25c">mepdf</a> (<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1epdf.html">epdf</a> > em)</td></tr> |
| 86 | |
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set internal shared pointer. <br></td></tr> |
| 88 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b904a90ef78294040b498717cc13015e"></a><!-- doxytag: member="bdm::mepdf::samplecond" ref="b904a90ef78294040b498717cc13015e" args="(const vec &cond)" --> |
| 89 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#b904a90ef78294040b498717cc13015e">samplecond</a> (const vec &cond)</td></tr> |
| 90 | |
| 91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">empty <br></td></tr> |
| 92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="57decd7718f3789e9d1f10f19def935b"></a><!-- doxytag: member="bdm::mepdf::evallogcond" ref="57decd7718f3789e9d1f10f19def935b" args="(const vec &val, const vec &cond)" --> |
| 93 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#57decd7718f3789e9d1f10f19def935b">evallogcond</a> (const vec &val, const vec &cond)</td></tr> |
| 94 | |
| 95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut for conditioning and evaluation of the internal <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. In some cases, this operation can be implemented efficiently. <br></td></tr> |
| 96 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#27ef18a3e3b1b5de02739d1324bf25fb">from_setting</a> (const Setting &set)</td></tr> |
| 97 | |
| 98 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Load from structure with elements:. <a href="#27ef18a3e3b1b5de02739d1324bf25fb"></a><br></td></tr> |
| 99 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::mepdf::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> |
| 100 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
| 101 | |
| 102 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> |
| 103 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::mepdf::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
| 104 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
| 105 | |
| 106 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> |
| 107 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::mepdf::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
| 108 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
| 109 | |
| 110 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> |
108 | | <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp8096b150de0e99b4ea272a92f021107c"></a> </p> |
109 | | <br/><br/></div></td></tr> |
110 | | <tr><td class="memItemLeft" align="right" valign="top">virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a6e497d501331057309d2fddf63259d1a">samplecond_m</a> (const vec &cond, int N)</td></tr> |
111 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns. <a href="#a6e497d501331057309d2fddf63259d1a"></a><br/></td></tr> |
112 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b0ed1ed663071bb7cf4a1349eb94fcb"></a><!-- doxytag: member="bdm::mepdf::evallogcond_m" ref="a0b0ed1ed663071bb7cf4a1349eb94fcb" args="(const mat &Dt, const vec &cond)" --> |
113 | | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a0b0ed1ed663071bb7cf4a1349eb94fcb">evallogcond_m</a> (const mat &Dt, const vec &cond)</td></tr> |
114 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of evallogcond. <br/></td></tr> |
115 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a0d03756f59924fd038980ee60bd904"></a><!-- doxytag: member="bdm::mepdf::evallogcond_m" ref="a2a0d03756f59924fd038980ee60bd904" args="(const Array< vec > &Dt, const vec &cond)" --> |
116 | | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a2a0d03756f59924fd038980ee60bd904">evallogcond_m</a> (const Array< vec > &Dt, const vec &cond)</td></tr> |
117 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Array<vec> version of evallogcond. <br/></td></tr> |
| 112 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#6e497d501331057309d2fddf63259d1a">samplecond_m</a> (const vec &cond, int N)</td></tr> |
| 113 | |
| 114 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns. <a href="#6e497d501331057309d2fddf63259d1a"></a><br></td></tr> |
| 115 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0b0ed1ed663071bb7cf4a1349eb94fcb"></a><!-- doxytag: member="bdm::mepdf::evallogcond_m" ref="0b0ed1ed663071bb7cf4a1349eb94fcb" args="(const mat &Dt, const vec &cond)" --> |
| 116 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#0b0ed1ed663071bb7cf4a1349eb94fcb">evallogcond_m</a> (const mat &Dt, const vec &cond)</td></tr> |
| 117 | |
| 118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of evallogcond. <br></td></tr> |
| 119 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2a0d03756f59924fd038980ee60bd904"></a><!-- doxytag: member="bdm::mepdf::evallogcond_m" ref="2a0d03756f59924fd038980ee60bd904" args="(const Array< vec > &Dt, const vec &cond)" --> |
| 120 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#2a0d03756f59924fd038980ee60bd904">evallogcond_m</a> (const Array< vec > &Dt, const vec &cond)</td></tr> |
| 121 | |
| 122 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Array<vec> version of evallogcond. <br></td></tr> |
138 | | <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> |
139 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::mepdf::set_ep" ref="a147afacb393324bb3f9a7a89e33f835e" args="(epdf &iepdf)" --> |
140 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a147afacb393324bb3f9a7a89e33f835e">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> &iepdf)</td></tr> |
141 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br/></td></tr> |
142 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::mepdf::set_ep" ref="a7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" --> |
143 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a7555b377f8b5895c9b759c9628ee3e20">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> *iepdfp)</td></tr> |
144 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br/></td></tr> |
145 | | <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> |
146 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::mepdf::dimc" ref="a7c1900976ff13dbc09c9729b3bbff9e6" args="" --> |
147 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a7c1900976ff13dbc09c9729b3bbff9e6">dimc</a></td></tr> |
148 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the condition <br/></td></tr> |
149 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a5f08950daa08b85b01ddf4e1c36288"></a><!-- doxytag: member="bdm::mepdf::rvc" ref="a5a5f08950daa08b85b01ddf4e1c36288" args="" --> |
150 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a5a5f08950daa08b85b01ddf4e1c36288">rvc</a></td></tr> |
151 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">random variable in condition <br/></td></tr> |
| 145 | |
| 146 | <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> |
| 147 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::mepdf::set_ep" ref="147afacb393324bb3f9a7a89e33f835e" args="(epdf &iepdf)" --> |
| 148 | void </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> &iepdf)</td></tr> |
| 149 | |
| 150 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr> |
| 151 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::mepdf::set_ep" ref="7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" --> |
| 152 | void </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> |
| 153 | |
| 154 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr> |
| 155 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
| 156 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::mepdf::dimc" ref="7c1900976ff13dbc09c9729b3bbff9e6" args="" --> |
| 157 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6">dimc</a></td></tr> |
| 158 | |
| 159 | <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the condition <br></td></tr> |
| 160 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a5f08950daa08b85b01ddf4e1c36288"></a><!-- doxytag: member="bdm::mepdf::rvc" ref="5a5f08950daa08b85b01ddf4e1c36288" args="" --> |
| 161 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#5a5f08950daa08b85b01ddf4e1c36288">rvc</a></td></tr> |
| 162 | |
| 163 | <tr><td class="mdescLeft"> </td><td class="mdescRight">random variable in condition <br></td></tr> |