<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6">
  <compounddef id="libBM_8h" kind="file">
    <compoundname>libBM.h</compoundname>
    <includes local="no">itpp/itbase.h</includes>
    <includedby refid="libFN_8h" local="yes">work/git/mixpp/bdm/stat/libFN.h</includedby>
    <includedby refid="libEF_8h" local="yes">work/git/mixpp/bdm/stat/libEF.h</includedby>
    <includedby refid="emix_8h" local="yes">work/git/mixpp/bdm/stat/emix.h</includedby>
    <includedby refid="libBM_8cpp" local="yes">work/git/mixpp/bdm/stat/libBM.cpp</includedby>
    <includedby refid="libDS_8h" local="yes">work/git/mixpp/bdm/stat/libDS.h</includedby>
    <includedby refid="loggers_8h" local="yes">work/git/mixpp/bdm/stat/loggers.h</includedby>
    <includedby refid="merger_8h" local="yes">work/git/mixpp/bdm/stat/merger.h</includedby>
    <includedby refid="testbidiff_8cpp" local="yes">work/git/mixpp/pmsm/testbidiff.cpp</includedby>
    <includedby refid="rv__test_8cpp" local="yes">work/git/mixpp/tests/rv_test.cpp</includedby>
    <includedby refid="test0_8cpp" local="yes">work/git/mixpp/tests/test0.cpp</includedby>
    <incdepgraph>
      <node id="355">
        <label>work/git/mixpp/bdm/stat/libBM.h</label>
        <link refid="libBM.h"/>
        <childnode refid="356" relation="include">
        </childnode>
      </node>
      <node id="356">
        <label>itpp/itbase.h</label>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="372">
        <label>work/git/mixpp/bdm/stat/loggers.h</label>
        <link refid="loggers_8h"/>
        <childnode refid="363" relation="include">
        </childnode>
        <childnode refid="364" relation="include">
        </childnode>
        <childnode refid="360" relation="include">
        </childnode>
      </node>
      <node id="357">
        <label>work/git/mixpp/bdm/stat/libBM.h</label>
        <link refid="libBM.h"/>
        <childnode refid="358" relation="include">
        </childnode>
        <childnode refid="367" relation="include">
        </childnode>
        <childnode refid="369" relation="include">
        </childnode>
        <childnode refid="371" relation="include">
        </childnode>
        <childnode refid="372" relation="include">
        </childnode>
        <childnode refid="370" relation="include">
        </childnode>
      </node>
      <node id="370">
        <label>work/git/mixpp/bdm/stat/merger.h</label>
        <link refid="merger_8h"/>
      </node>
      <node id="369">
        <label>work/git/mixpp/bdm/stat/emix.h</label>
        <link refid="emix_8h"/>
        <childnode refid="370" relation="include">
        </childnode>
        <childnode refid="363" relation="include">
        </childnode>
      </node>
      <node id="366">
        <label>work/git/mixpp/pmsm/pmsm.h</label>
        <link refid="pmsm_8h-source"/>
        <childnode refid="363" relation="include">
        </childnode>
        <childnode refid="364" relation="include">
        </childnode>
      </node>
      <node id="362">
        <label>work/git/mixpp/bdm/estim/ekf_templ.h</label>
        <link refid="ekf__templ_8h"/>
        <childnode refid="363" relation="include">
        </childnode>
      </node>
      <node id="367">
        <label>work/git/mixpp/bdm/stat/libEF.h</label>
        <link refid="libEF_8h"/>
        <childnode refid="359" relation="include">
        </childnode>
        <childnode refid="361" relation="include">
        </childnode>
        <childnode refid="368" relation="include">
        </childnode>
        <childnode refid="369" relation="include">
        </childnode>
        <childnode refid="370" relation="include">
        </childnode>
      </node>
      <node id="368">
        <label>work/git/mixpp/bdm/estim/libPF.h</label>
        <link refid="libPF_8h"/>
        <childnode refid="363" relation="include">
        </childnode>
      </node>
      <node id="359">
        <label>work/git/mixpp/bdm/estim/arx.h</label>
        <link refid="arx_8h"/>
        <childnode refid="360" relation="include">
        </childnode>
      </node>
      <node id="358">
        <label>work/git/mixpp/bdm/stat/libFN.h</label>
        <link refid="libFN_8h-source"/>
        <childnode refid="359" relation="include">
        </childnode>
        <childnode refid="361" relation="include">
        </childnode>
        <childnode refid="366" relation="include">
        </childnode>
        <childnode refid="363" relation="include">
        </childnode>
        <childnode refid="364" relation="include">
        </childnode>
      </node>
      <node id="360">
        <label>work/git/mixpp/pmsm/sim_var_arx.cpp</label>
        <link refid="sim__var__arx_8cpp"/>
      </node>
      <node id="364">
        <label>work/git/mixpp/pmsm/sim_var.cpp</label>
        <link refid="sim__var_8cpp"/>
      </node>
      <node id="371">
        <label>work/git/mixpp/bdm/stat/libDS.h</label>
        <link refid="libDS_8h"/>
      </node>
      <node id="361">
        <label>work/git/mixpp/bdm/estim/libKF.h</label>
        <link refid="libKF_8h"/>
        <childnode refid="362" relation="include">
        </childnode>
        <childnode refid="364" relation="include">
        </childnode>
        <childnode refid="365" relation="include">
        </childnode>
      </node>
      <node id="365">
        <label>work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf_obj.h</label>
        <link refid="ekf__obj_8h"/>
      </node>
      <node id="363">
        <label>work/git/mixpp/pmsm/pmsm_mix.cpp</label>
        <link refid="pmsm__mix_8cpp"/>
      </node>
    </invincdepgraph>
    <innerclass refid="classstr" prot="public">str</innerclass>
    <innerclass refid="classRV" prot="public">RV</innerclass>
    <innerclass refid="classfnc" prot="public">fnc</innerclass>
    <innerclass refid="classepdf" prot="public">epdf</innerclass>
    <innerclass refid="classmpdf" prot="public">mpdf</innerclass>
    <innerclass refid="classmepdf" prot="public">mepdf</innerclass>
    <innerclass refid="classDS" prot="public">DS</innerclass>
    <innerclass refid="classBM" prot="public">BM</innerclass>
    <innerclass refid="classBMcond" prot="public">BMcond</innerclass>
      <sectiondef kind="func">
      <memberdef kind="function" id="libBM_8h_133c114e83980d883c5b211c47d5322a4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="classRV" kindref="compound">RV</ref></type>
        <definition>RV concat</definition>
        <argsstring>(const RV &amp;rv1, const RV &amp;rv2)</argsstring>
        <name>concat</name>
        <param>
          <type>const <ref refid="classRV" kindref="compound">RV</ref> &amp;</type>
          <declname>rv1</declname>
        </param>
        <param>
          <type>const <ref refid="classRV" kindref="compound">RV</ref> &amp;</type>
          <declname>rv2</declname>
        </param>
        <briefdescription>
<para>Concat two random variables. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/libBM.h" line="108" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/libBM.cpp" bodystart="177" bodyend="181"/>
        <references refid="classRV_1935790526b630dec4ffefa9ec0c2b6fb" compoundref="libBM_8cpp" startline="51" endline="78">RV::add</references>
      </memberdef>
      </sectiondef>
    <briefdescription>
<para>Bayesian Models (bm) that use Bayes rule to learn from observations. </para>    </briefdescription>
    <detaileddescription>
<para><simplesect kind="author"><para>Vaclav Smidl.</para></simplesect>
----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty</para><para>Using IT++ for numerical operations ----------------------------------- </para>    </detaileddescription>
    <programlisting>
<codeline lineno="1"></codeline>
<codeline lineno="13"><highlight class="preprocessor">#ifndef<sp/>BM_H</highlight></codeline>
<codeline lineno="14"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>BM_H</highlight></codeline>
<codeline lineno="15"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="16"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;itpp/itbase.h&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="17"><highlight class="normal"></highlight><highlight class="comment">//#include<sp/>&lt;std&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="18"><highlight class="normal"></highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal">itpp;</highlight></codeline>
<codeline lineno="20"><highlight class="normal"></highlight></codeline>
<codeline lineno="22" refid="classstr" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classstr" kindref="compound" tooltip="Structure of RV (used internally).">str</ref>{</highlight></codeline>
<codeline lineno="23"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ivec<sp/>ids;</highlight></codeline>
<codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ivec<sp/>times;</highlight></codeline>
<codeline lineno="26"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classstr" kindref="compound" tooltip="Structure of RV (used internally).">str</ref>(ivec<sp/>ids0,<sp/>ivec<sp/>times0):ids(ids0),times(times0){</highlight></codeline>
<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>it_assert_debug(times0.length()==ids0.length(),</highlight><highlight class="stringliteral">&quot;Incompatible<sp/>input&quot;</highlight><highlight class="normal">);</highlight></codeline>
<codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline>
<codeline lineno="29"><highlight class="normal">};</highlight></codeline>
<codeline lineno="30"><highlight class="normal"></highlight></codeline>
<codeline lineno="37" refid="classRV" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>{</highlight></codeline>
<codeline lineno="38"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="40" refid="classRV_1f2396efe2e6d656ebe9e6f06018cbe25" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classRV_1f2396efe2e6d656ebe9e6f06018cbe25" kindref="member" tooltip="size = sum of sizes">tsize</ref>;</highlight></codeline>
<codeline lineno="42" refid="classRV_10d7b36e2bbccf880c8fcf1e8cc43c1a9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classRV_10d7b36e2bbccf880c8fcf1e8cc43c1a9" kindref="member" tooltip="len = number of individual rvs">len</ref>;</highlight></codeline>
<codeline lineno="44" refid="classRV_11bd7165140f4b880a7f344bbb1c433f9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ivec<sp/><ref refid="classRV_11bd7165140f4b880a7f344bbb1c433f9" kindref="member" tooltip="Vector of unique IDs.">ids</ref>;</highlight></codeline>
<codeline lineno="46" refid="classRV_1c878aab13f34b420e1eb5b485563682b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ivec<sp/><ref refid="classRV_1c878aab13f34b420e1eb5b485563682b" kindref="member" tooltip="Vector of sizes.">sizes</ref>;</highlight></codeline>
<codeline lineno="48" refid="classRV_1646e530c47a2dd38254b778d9f11ac89" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ivec<sp/><ref refid="classRV_1646e530c47a2dd38254b778d9f11ac89" kindref="member" tooltip="Vector of shifts from current time.">times</ref>;</highlight></codeline>
<codeline lineno="50" refid="classRV_1df5d0030b277a1db2f1fd5fb79152acb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Array&lt;std::string&gt;<sp/><ref refid="classRV_1df5d0030b277a1db2f1fd5fb79152acb" kindref="member" tooltip="Array of names.">names</ref>;</highlight></codeline>
<codeline lineno="51"><highlight class="normal"></highlight></codeline>
<codeline lineno="52"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>init<sp/>(ivec<sp/>in_ids,<sp/>Array&lt;std::string&gt;<sp/>in_names,<sp/>ivec<sp/>in_sizes,<sp/>ivec<sp/>in_times<sp/>);</highlight></codeline>
<codeline lineno="55"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV_16a22f5c06d6403870d4e414b1993bf9e" kindref="member" tooltip="Constructor of empty RV.">RV</ref><sp/>(<sp/>Array&lt;std::string&gt;<sp/>in_names,<sp/>ivec<sp/>in_sizes,<sp/>ivec<sp/>in_times<sp/>);</highlight></codeline>
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV_16a22f5c06d6403870d4e414b1993bf9e" kindref="member" tooltip="Constructor of empty RV.">RV</ref><sp/>(<sp/>Array&lt;std::string&gt;<sp/>in_names,<sp/>ivec<sp/>in_sizes<sp/>);</highlight></codeline>
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV_16a22f5c06d6403870d4e414b1993bf9e" kindref="member" tooltip="Constructor of empty RV.">RV</ref><sp/>(<sp/>Array&lt;std::string&gt;<sp/>in_names<sp/>);</highlight></codeline>
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV_16a22f5c06d6403870d4e414b1993bf9e" kindref="member" tooltip="Constructor of empty RV.">RV</ref><sp/>();</highlight></codeline>
<codeline lineno="64"><highlight class="normal"></highlight></codeline>
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"><sp/>std::ostream<sp/>&amp;<ref refid="classRV_1cad6f15535d10437f6690cb4492176a8" kindref="member" tooltip="Printing output e.g. for debugging.">operator&lt;&lt; </ref>(<sp/>std::ostream<sp/>&amp;os,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;rv<sp/>);</highlight></codeline>
<codeline lineno="67"><highlight class="normal"></highlight></codeline>
<codeline lineno="69" refid="classRV_1f5c7b8bd589eef09ccdf3329a0addea0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classRV_1f5c7b8bd589eef09ccdf3329a0addea0" kindref="member" tooltip="Return number of scalars in the RV.">count</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classRV_1f2396efe2e6d656ebe9e6f06018cbe25" kindref="member" tooltip="size = sum of sizes">tsize</ref>;}<sp/>;</highlight></codeline>
<codeline lineno="71" refid="classRV_1c114a6f3ff06796cc2f4dacba74291eb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classRV_1c114a6f3ff06796cc2f4dacba74291eb" kindref="member" tooltip="Return length (number of entries) of the RV.">length</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classRV_10d7b36e2bbccf880c8fcf1e8cc43c1a9" kindref="member" tooltip="len = number of individual rvs">len</ref>;}<sp/>;</highlight></codeline>
<codeline lineno="72"><highlight class="normal"></highlight></codeline>
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//TODO<sp/>why<sp/>not<sp/>inline<sp/>and<sp/>later??</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="74"><highlight class="normal"></highlight></codeline>
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ivec<sp/><ref refid="classRV_10c493a7a897f4d75682f4264e40779a1" kindref="member" tooltip="Find indexes of self in another rv,.">findself</ref><sp/>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;rv2<sp/>)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classRV_182cc7fa22ce91cf461a522ad62014c65" kindref="member" tooltip="Compare if rv2 is identical to this RV.">equal</ref><sp/>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;rv2<sp/>)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">add</highlight><highlight class="normal"><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;rv2<sp/>);</highlight></codeline>
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classRV_1a85c47bd838ebbdcb6798d7843e87db2" kindref="member" tooltip="Subtract another variable from the current one.">subt</ref><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>rv2<sp/>)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classRV_10a9ea7bc6fad270cc54a455a9f8f387d" kindref="member" tooltip="Select only variables at indeces ind.">subselect</ref><sp/>(<sp/>ivec<sp/>ind<sp/>)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classRV_165e5b820e482caff7f284d11898ef64f" kindref="member" tooltip="Select only variables at indeces ind.">operator() </ref>(<sp/>ivec<sp/>ind<sp/>)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classRV_1e0a158d53ab9430627241f844f4c9a60" kindref="member" tooltip="Shift time shifted by delta.">t</ref><sp/>(<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>delta<sp/>);</highlight></codeline>
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classstr" kindref="compound" tooltip="Structure of RV (used internally).">str</ref><sp/><ref refid="classRV_152f3ade796814da627ff5a44d00986be" kindref="member" tooltip="generate str from rv, by expanding sizes">tostr</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ivec<sp/><ref refid="classRV_11844ea0d9c10428f5e0ee1d4d569ef0a" kindref="member" tooltip="generate indeces into">dataind</ref>(<ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>crv)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="93"><highlight class="normal"></highlight></codeline>
<codeline lineno="95" refid="classRV_1b88ef5124713c9e30fd9446846b3f044" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Array&lt;std::string&gt;&amp;<sp/><ref refid="classRV_1b88ef5124713c9e30fd9446846b3f044" kindref="member" tooltip="access function">_names</ref>()<sp/>{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classRV_1df5d0030b277a1db2f1fd5fb79152acb" kindref="member" tooltip="Array of names.">names</ref>;};</highlight></codeline>
<codeline lineno="96"><highlight class="normal"></highlight></codeline>
<codeline lineno="98" refid="classRV_14a0069bc69f5a98d7ce9ed59077f2e6c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classRV_14a0069bc69f5a98d7ce9ed59077f2e6c" kindref="member" tooltip="access function">id</ref><sp/>(<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>at<sp/>)<sp/>{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classRV_11bd7165140f4b880a7f344bbb1c433f9" kindref="member" tooltip="Vector of unique IDs.">ids</ref><sp/>(<sp/>at<sp/>);};</highlight></codeline>
<codeline lineno="100" refid="classRV_120db23a5585d64a6e24404cc8379bc28" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classRV_120db23a5585d64a6e24404cc8379bc28" kindref="member" tooltip="access function">size</ref><sp/>(<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>at<sp/>)<sp/>{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classRV_1c878aab13f34b420e1eb5b485563682b" kindref="member" tooltip="Vector of sizes.">sizes</ref><sp/>(<sp/>at<sp/>);};</highlight></codeline>
<codeline lineno="102" refid="classRV_1af068cf478864fe1a4fbfc6b4693b088" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classRV_1af068cf478864fe1a4fbfc6b4693b088" kindref="member" tooltip="access function">time</ref><sp/>(<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>at<sp/>)<sp/>{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classRV_1646e530c47a2dd38254b778d9f11ac89" kindref="member" tooltip="Vector of shifts from current time.">times</ref><sp/>(<sp/>at<sp/>);};</highlight></codeline>
<codeline lineno="104" refid="classRV_13ae4dd6e368f814a02710636ac8e1721" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::string<sp/><ref refid="classRV_13ae4dd6e368f814a02710636ac8e1721" kindref="member" tooltip="access function">name</ref><sp/>(<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>at<sp/>)<sp/>{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classRV_1df5d0030b277a1db2f1fd5fb79152acb" kindref="member" tooltip="Array of names.">names</ref><sp/>(<sp/>at<sp/>);};</highlight></codeline>
<codeline lineno="105"><highlight class="normal">};</highlight></codeline>
<codeline lineno="106"><highlight class="normal"></highlight></codeline>
<codeline lineno="108"><highlight class="normal"><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>concat<sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;rv1,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;rv2<sp/>);</highlight></codeline>
<codeline lineno="109"><highlight class="normal"></highlight></codeline>
<codeline lineno="110"><highlight class="normal"></highlight></codeline>
<codeline lineno="112"><highlight class="normal"></highlight></codeline>
<codeline lineno="113" refid="classfnc" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classfnc" kindref="compound" tooltip="Class representing function  of variable  represented by rv.">fnc</ref><sp/>{</highlight></codeline>
<codeline lineno="114"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="116" refid="classfnc_122d51d10a7901331167f64f80d1af8e9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classfnc_122d51d10a7901331167f64f80d1af8e9" kindref="member" tooltip="Length of the output vector.">dimy</ref>;</highlight></codeline>
<codeline lineno="117"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="119" refid="classfnc_18a1da32233c3006a4239cf601c413538" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classfnc_18a1da32233c3006a4239cf601c413538" kindref="member" tooltip="default constructor">fnc</ref><sp/>(<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>dy<sp/>)<sp/>:<ref refid="classfnc_122d51d10a7901331167f64f80d1af8e9" kindref="member" tooltip="Length of the output vector.">dimy</ref><sp/>(<sp/>dy<sp/>)<sp/>{};</highlight></codeline>
<codeline lineno="121" refid="classfnc_17fad2e6cb35909a165ec5a53def4a18c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/>vec<sp/><ref refid="classfnc_17fad2e6cb35909a165ec5a53def4a18c" kindref="member" tooltip="function evaluates numerical value of  at  cond ">eval</ref><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>vec<sp/>&amp;cond<sp/>)<sp/>{</highlight></codeline>
<codeline lineno="122"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>vec<sp/>(<sp/>0<sp/>);</highlight></codeline>
<codeline lineno="123"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline>
<codeline lineno="124"><highlight class="normal"></highlight></codeline>
<codeline lineno="126" refid="classfnc_1a8891973d0ca48ce38e1886df45ca298" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classfnc_1a8891973d0ca48ce38e1886df45ca298" kindref="member" tooltip="access function">_dimy</ref>()</highlight><highlight class="keyword"><sp/>const</highlight><highlight class="normal">{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classfnc_122d51d10a7901331167f64f80d1af8e9" kindref="member" tooltip="Length of the output vector.">dimy</ref>;}</highlight></codeline>
<codeline lineno="127"><highlight class="normal"></highlight></codeline>
<codeline lineno="129" refid="classfnc_117164c202f6feee3d708b8caab6306ab" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classfnc_117164c202f6feee3d708b8caab6306ab" kindref="member" tooltip="Destructor for future use;.">~fnc</ref>()<sp/>{};</highlight></codeline>
<codeline lineno="130"><highlight class="normal">};</highlight></codeline>
<codeline lineno="131"><highlight class="normal"></highlight></codeline>
<codeline lineno="132"><highlight class="normal"></highlight></codeline>
<codeline lineno="134"><highlight class="normal"></highlight></codeline>
<codeline lineno="135" refid="classepdf" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classepdf" kindref="compound" tooltip="Probability density function with numerical statistics, e.g. posterior density.">epdf</ref><sp/>{</highlight></codeline>
<codeline lineno="136"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="138" refid="classepdf_174da992e3f5d598da8850b646b79b9d9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classepdf_174da992e3f5d598da8850b646b79b9d9" kindref="member" tooltip="Identified of the random variable.">rv</ref>;</highlight></codeline>
<codeline lineno="139"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="141" refid="classepdf_1d8eb760037b3bad5a0d64081606697cd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classepdf_1d8eb760037b3bad5a0d64081606697cd" kindref="member" tooltip="default constructor">epdf</ref>()<sp/>:<ref refid="classepdf_174da992e3f5d598da8850b646b79b9d9" kindref="member" tooltip="Identified of the random variable.">rv</ref><sp/>(<sp/>)<sp/>{};</highlight></codeline>
<codeline lineno="142"><highlight class="normal"></highlight></codeline>
<codeline lineno="144" refid="classepdf_1c95b1a27a8dd9507bb9a5a3cb2809c7a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classepdf_1d8eb760037b3bad5a0d64081606697cd" kindref="member" tooltip="default constructor">epdf</ref><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;rv0<sp/>)<sp/>:<ref refid="classepdf_174da992e3f5d598da8850b646b79b9d9" kindref="member" tooltip="Identified of the random variable.">rv</ref><sp/>(<sp/>rv0<sp/>)<sp/>{};</highlight></codeline>
<codeline lineno="145"><highlight class="normal"></highlight></codeline>
<codeline lineno="147"><highlight class="comment">//<sp/><sp/><sp/><sp/><sp/><sp/>virtual<sp/>vec<sp/>moment<sp/>(<sp/>const<sp/>int<sp/>order<sp/>=<sp/>1<sp/>);</highlight></codeline>
<codeline lineno="149"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/>vec<sp/><ref refid="classepdf_18019654e494bf5e458f6fb947e11b262" kindref="member" tooltip="Returns the required moment of the epdf.">sample</ref><sp/>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>=0;</highlight></codeline>
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/>mat<sp/><ref refid="classepdf_154d7dd53a641b618771cd9bee135181f" kindref="member" tooltip="Returns N samples from density .">sampleN</ref><sp/>(<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>N<sp/>)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="153" refid="classepdf_13ea597362e11a0040fe7c990269d072c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="classepdf_13ea597362e11a0040fe7c990269d072c" kindref="member" tooltip="Compute probability of argument val.">eval</ref><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>vec<sp/>&amp;val<sp/>)</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>exp<sp/>(<sp/>this-&gt;<ref refid="classepdf_16aef3eca74899692503769c18add1a4c" kindref="member" tooltip="Compute log-probability of argument val.">evalpdflog</ref><sp/>(<sp/>val<sp/>)<sp/>);};</highlight></codeline>
<codeline lineno="154"><highlight class="normal"></highlight></codeline>
<codeline lineno="156"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="classepdf_16aef3eca74899692503769c18add1a4c" kindref="member" tooltip="Compute log-probability of argument val.">evalpdflog</ref><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>vec<sp/>&amp;val<sp/>)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>=0;</highlight></codeline>
<codeline lineno="157"><highlight class="normal"></highlight></codeline>
<codeline lineno="159"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/>vec<sp/><ref refid="classepdf_1bf0a070a8f3e67a93604ca724638b870" kindref="member" tooltip="return expected value">mean</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>=0;</highlight></codeline>
<codeline lineno="160"><highlight class="normal"></highlight></codeline>
<codeline lineno="162" refid="classepdf_10a322dd106f04c0a2915e3d4f4227396" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classepdf_10a322dd106f04c0a2915e3d4f4227396" kindref="member" tooltip="Destructor for future use;.">~epdf</ref>()<sp/>{};</highlight></codeline>
<codeline lineno="164" refid="classepdf_14778ea61ef400813e47750e024e9fc2f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref>&amp;<sp/><ref refid="classepdf_14778ea61ef400813e47750e024e9fc2f" kindref="member" tooltip="access function, possibly dangerous!">_rv</ref>()<sp/>{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classepdf_174da992e3f5d598da8850b646b79b9d9" kindref="member" tooltip="Identified of the random variable.">rv</ref>;}</highlight></codeline>
<codeline lineno="165"><highlight class="normal">};</highlight></codeline>
<codeline lineno="166"><highlight class="normal"></highlight></codeline>
<codeline lineno="167"><highlight class="normal"></highlight></codeline>
<codeline lineno="169"><highlight class="comment">//TODO<sp/>Samplecond<sp/>can<sp/>be<sp/>generalized</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="170"><highlight class="normal"></highlight></codeline>
<codeline lineno="171" refid="classmpdf" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classmpdf" kindref="compound" tooltip="Conditional probability density, e.g. modeling some dependencies.">mpdf</ref><sp/>{</highlight></codeline>
<codeline lineno="172"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="174" refid="classmpdf_1f6687c07ff07d47812dd565368ca59eb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classmpdf_1f6687c07ff07d47812dd565368ca59eb" kindref="member" tooltip="modeled random variable">rv</ref>;</highlight></codeline>
<codeline lineno="176" refid="classmpdf_1acb7dda792b3cd5576f39fa3129abbab" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classmpdf_1acb7dda792b3cd5576f39fa3129abbab" kindref="member" tooltip="random variable in condition">rvc</ref>;</highlight></codeline>
<codeline lineno="178" refid="classmpdf_17aa894208a32f3487827df6d5054424c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classepdf" kindref="compound" tooltip="Probability density function with numerical statistics, e.g. posterior density.">epdf</ref>*<sp/><ref refid="classmpdf_17aa894208a32f3487827df6d5054424c" kindref="member" tooltip="pointer to internal epdf">ep</ref>;</highlight></codeline>
<codeline lineno="179"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="180"><highlight class="normal"></highlight></codeline>
<codeline lineno="182"><highlight class="comment">//<sp/><sp/><sp/><sp/><sp/><sp/>virtual<sp/>fnc<sp/>moment<sp/>(<sp/>const<sp/>int<sp/>order<sp/>=<sp/>1<sp/>);</highlight></codeline>
<codeline lineno="184" refid="classmpdf_13f172b79ec4a5ebc87898a5381141f1b" refkind="member"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/>vec<sp/><ref refid="classmpdf_13f172b79ec4a5ebc87898a5381141f1b" kindref="member" tooltip="Returns the required moment of the epdf.">samplecond</ref><sp/>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>vec<sp/>&amp;cond,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>&amp;ll<sp/>)<sp/>{this-&gt;<ref refid="classmpdf_10f95a0cc6ab40611f46804682446ed83" kindref="member" tooltip="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</ref><sp/>(<sp/>cond<sp/>);</highlight></codeline>
<codeline lineno="185"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>vec<sp/>temp=<sp/><ref refid="classmpdf_17aa894208a32f3487827df6d5054424c" kindref="member" tooltip="pointer to internal epdf">ep</ref>-&gt;<ref refid="classepdf_18019654e494bf5e458f6fb947e11b262" kindref="member" tooltip="Returns the required moment of the epdf.">sample</ref>();</highlight></codeline>
<codeline lineno="186"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ll=<ref refid="classmpdf_17aa894208a32f3487827df6d5054424c" kindref="member" tooltip="pointer to internal epdf">ep</ref>-&gt;<ref refid="classepdf_16aef3eca74899692503769c18add1a4c" kindref="member" tooltip="Compute log-probability of argument val.">evalpdflog</ref><sp/>(<sp/>temp<sp/>);</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>temp;};</highlight></codeline>
<codeline lineno="188" refid="classmpdf_10e37163660f93df2a4d723cedb1da89c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/>mat<sp/><ref refid="classmpdf_13f172b79ec4a5ebc87898a5381141f1b" kindref="member" tooltip="Returns the required moment of the epdf.">samplecond</ref><sp/>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>vec<sp/>&amp;cond,<sp/>vec<sp/>&amp;ll,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>N<sp/>)<sp/>{</highlight></codeline>
<codeline lineno="189"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>this-&gt;<ref refid="classmpdf_10f95a0cc6ab40611f46804682446ed83" kindref="member" tooltip="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</ref><sp/>(<sp/>cond<sp/>);</highlight></codeline>
<codeline lineno="190"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>mat<sp/>temp<sp/>(<sp/><ref refid="classmpdf_1f6687c07ff07d47812dd565368ca59eb" kindref="member" tooltip="modeled random variable">rv</ref>.<ref refid="classRV_1f5c7b8bd589eef09ccdf3329a0addea0" kindref="member" tooltip="Return number of scalars in the RV.">count</ref>(),N<sp/>);<sp/>vec<sp/>smp<sp/>(<sp/><ref refid="classmpdf_1f6687c07ff07d47812dd565368ca59eb" kindref="member" tooltip="modeled random variable">rv</ref>.<ref refid="classRV_1f5c7b8bd589eef09ccdf3329a0addea0" kindref="member" tooltip="Return number of scalars in the RV.">count</ref>()<sp/>);<sp/></highlight></codeline>
<codeline lineno="191"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i=0;i&lt;N;i++<sp/>)<sp/>{smp=<ref refid="classmpdf_17aa894208a32f3487827df6d5054424c" kindref="member" tooltip="pointer to internal epdf">ep</ref>-&gt;<ref refid="classepdf_18019654e494bf5e458f6fb947e11b262" kindref="member" tooltip="Returns the required moment of the epdf.">sample</ref>()<sp/>;temp.set_col<sp/>(<sp/>i,<sp/>smp<sp/>);ll<sp/>(<sp/>i<sp/>)<sp/>=<ref refid="classmpdf_17aa894208a32f3487827df6d5054424c" kindref="member" tooltip="pointer to internal epdf">ep</ref>-&gt;<ref refid="classepdf_16aef3eca74899692503769c18add1a4c" kindref="member" tooltip="Compute log-probability of argument val.">evalpdflog</ref><sp/>(<sp/>smp<sp/>);}</highlight></codeline>
<codeline lineno="192"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>temp;</highlight></codeline>
<codeline lineno="193"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline>
<codeline lineno="195" refid="classmpdf_10f95a0cc6ab40611f46804682446ed83" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classmpdf_10f95a0cc6ab40611f46804682446ed83" kindref="member" tooltip="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</ref><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>vec<sp/>&amp;cond<sp/>)<sp/>{};</highlight></codeline>
<codeline lineno="196"><highlight class="normal"></highlight></codeline>
<codeline lineno="198" refid="classmpdf_180b738ece5bd4f8c4edaee4b38906f91" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="classmpdf_180b738ece5bd4f8c4edaee4b38906f91" kindref="member" tooltip="Shortcut for conditioning and evaluation of the internal epdf. In some cases, this...">evalcond</ref><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>vec<sp/>&amp;dt,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>vec<sp/>&amp;cond<sp/>)<sp/>{this-&gt;<ref refid="classmpdf_10f95a0cc6ab40611f46804682446ed83" kindref="member" tooltip="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</ref><sp/>(<sp/>cond<sp/>);</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classmpdf_17aa894208a32f3487827df6d5054424c" kindref="member" tooltip="pointer to internal epdf">ep</ref>-&gt;<ref refid="classepdf_13ea597362e11a0040fe7c990269d072c" kindref="member" tooltip="Compute probability of argument val.">eval</ref><sp/>(<sp/>dt<sp/>);};</highlight></codeline>
<codeline lineno="199"><highlight class="normal"></highlight></codeline>
<codeline lineno="201" refid="classmpdf_16788be9f3a888796499c5293a318fcfb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classmpdf_16788be9f3a888796499c5293a318fcfb" kindref="member" tooltip="Destructor for future use;.">~mpdf</ref>()<sp/>{};</highlight></codeline>
<codeline lineno="202"><highlight class="normal"></highlight></codeline>
<codeline lineno="204" refid="classmpdf_1581ecf362185d37c08bb31cb9d046d6f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classmpdf_1581ecf362185d37c08bb31cb9d046d6f" kindref="member" tooltip="Default constructor.">mpdf</ref><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;rv0,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;rvc0<sp/>)<sp/>:<ref refid="classmpdf_1f6687c07ff07d47812dd565368ca59eb" kindref="member" tooltip="modeled random variable">rv</ref><sp/>(<sp/>rv0<sp/>),<ref refid="classmpdf_1acb7dda792b3cd5576f39fa3129abbab" kindref="member" tooltip="random variable in condition">rvc</ref><sp/>(<sp/>rvc0<sp/>)<sp/>{};</highlight></codeline>
<codeline lineno="206" refid="classmpdf_1ec9c850305984582548e8deb64f0ffe8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classmpdf_1ec9c850305984582548e8deb64f0ffe8" kindref="member" tooltip="access function">_rvc</ref>()<sp/>{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classmpdf_1acb7dda792b3cd5576f39fa3129abbab" kindref="member" tooltip="random variable in condition">rvc</ref>;}</highlight></codeline>
<codeline lineno="208" refid="classmpdf_11e71ad4c66d5884c82d4a3b06b42fe32" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classmpdf_11e71ad4c66d5884c82d4a3b06b42fe32" kindref="member" tooltip="access function">_rv</ref>()<sp/>{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classmpdf_1f6687c07ff07d47812dd565368ca59eb" kindref="member" tooltip="modeled random variable">rv</ref>;}</highlight></codeline>
<codeline lineno="210" refid="classmpdf_1e17780ee5b2cfe05922a6c56af1462f8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classepdf" kindref="compound" tooltip="Probability density function with numerical statistics, e.g. posterior density.">epdf</ref>&amp;<sp/><ref refid="classmpdf_1e17780ee5b2cfe05922a6c56af1462f8" kindref="member" tooltip="access function">_epdf</ref>()<sp/>{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>*<ref refid="classmpdf_17aa894208a32f3487827df6d5054424c" kindref="member" tooltip="pointer to internal epdf">ep</ref>;}</highlight></codeline>
<codeline lineno="211"><highlight class="normal">};</highlight></codeline>
<codeline lineno="212"><highlight class="normal"></highlight></codeline>
<codeline lineno="217" refid="classmepdf" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classmepdf" kindref="compound" tooltip="Unconditional mpdf, allows using epdf in the role of mpdf.">mepdf</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classmpdf" kindref="compound" tooltip="Conditional probability density, e.g. modeling some dependencies.">mpdf</ref><sp/>{</highlight></codeline>
<codeline lineno="218"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="220" refid="classmepdf_17ab1c50f0aa16230117436dee500f2e0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classmepdf_17ab1c50f0aa16230117436dee500f2e0" kindref="member" tooltip="Default constructor.">mepdf</ref><sp/>(<ref refid="classepdf" kindref="compound" tooltip="Probability density function with numerical statistics, e.g. posterior density.">epdf</ref><sp/>&amp;em<sp/>)<sp/>:<ref refid="classmpdf" kindref="compound" tooltip="Conditional probability density, e.g. modeling some dependencies.">mpdf</ref><sp/>(<sp/>em.<ref refid="classmpdf_11e71ad4c66d5884c82d4a3b06b42fe32" kindref="member" tooltip="access function">_rv</ref>(),<ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref>()<sp/>)<sp/>{<ref refid="classmpdf_17aa894208a32f3487827df6d5054424c" kindref="member" tooltip="pointer to internal epdf">ep</ref>=&amp;em;};</highlight></codeline>
<codeline lineno="221"><highlight class="normal">};</highlight></codeline>
<codeline lineno="222"><highlight class="normal"></highlight></codeline>
<codeline lineno="230" refid="classDS" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classDS" kindref="compound" tooltip="Abstract class for discrete-time sources of data.">DS</ref><sp/>{</highlight></codeline>
<codeline lineno="231"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="233" refid="classDS_11012025a1a3a1fdd24aa48698a3d3454" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classDS_11012025a1a3a1fdd24aa48698a3d3454" kindref="member" tooltip="Observed variables, returned by getdata().">Drv</ref>;</highlight></codeline>
<codeline lineno="235" refid="classDS_10a88ffaeb3c7c2cf30c69bc41a000629" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classDS_10a88ffaeb3c7c2cf30c69bc41a000629" kindref="member" tooltip="Action variables, accepted by write().">Urv</ref>;<sp/></highlight><highlight class="comment">//</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="236"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="238"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classDS_1db2dacc9e71a36eeb9c5c2ee402eeeb1" kindref="member" tooltip="Returns full vector of observed data.">getdata</ref><sp/>(<sp/>vec<sp/>&amp;dt<sp/>);</highlight></codeline>
<codeline lineno="240"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classDS_1db2dacc9e71a36eeb9c5c2ee402eeeb1" kindref="member" tooltip="Returns full vector of observed data.">getdata</ref><sp/>(<sp/>vec<sp/>&amp;dt,<sp/>ivec<sp/>&amp;indeces<sp/>);</highlight></codeline>
<codeline lineno="242"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classDS_10dfb6788b70c0d48a1f5276ed6c93039" kindref="member" tooltip="Accepts action variable and schedule it for application.">write</ref><sp/>(<sp/>vec<sp/>&amp;ut<sp/>);</highlight></codeline>
<codeline lineno="244"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classDS_10dfb6788b70c0d48a1f5276ed6c93039" kindref="member" tooltip="Accepts action variable and schedule it for application.">write</ref><sp/>(<sp/>vec<sp/>&amp;ut,<sp/>ivec<sp/>&amp;indeces<sp/>);</highlight></codeline>
<codeline lineno="250"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classDS_19a35ca9c9321dce2bf63bf668f785b75" kindref="member" tooltip="Method that assigns random variables to the datasource. Typically, the datasource...">linkrvs</ref><sp/>(<sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;drv,<sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;urv<sp/>);</highlight></codeline>
<codeline lineno="251"><highlight class="normal"></highlight></codeline>
<codeline lineno="253"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classDS_1470ba89e8e7c3c4d830803221b4e9be6" kindref="member" tooltip="Moves from  to , i.e. perfroms the actions and reads response of the system.">step</ref>();</highlight></codeline>
<codeline lineno="254"><highlight class="normal"></highlight></codeline>
<codeline lineno="255"><highlight class="normal">};</highlight></codeline>
<codeline lineno="256"><highlight class="normal"></highlight></codeline>
<codeline lineno="261" refid="classBM" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classBM" kindref="compound" tooltip="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</ref><sp/>{</highlight></codeline>
<codeline lineno="262"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="264" refid="classBM_1af00f0612fabe66241dd507188cdbf88" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classBM_1af00f0612fabe66241dd507188cdbf88" kindref="member" tooltip="Random variable of the posterior.">rv</ref>;</highlight></codeline>
<codeline lineno="266" refid="classBM_15623fef6572a08c2b53b8c87b82dc979" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="classBM_15623fef6572a08c2b53b8c87b82dc979" kindref="member" tooltip="Logarithm of marginalized data likelihood.">ll</ref>;</highlight></codeline>
<codeline lineno="268" refid="classBM_1bf6fb59b30141074f8ee1e2f43d03129" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBM_1bf6fb59b30141074f8ee1e2f43d03129" kindref="member" tooltip="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</ref>;</highlight></codeline>
<codeline lineno="269"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="270"><highlight class="normal"></highlight></codeline>
<codeline lineno="272" refid="classBM_1605d28b426adb677c86a57ddb525132a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classBM_1605d28b426adb677c86a57ddb525132a" kindref="member" tooltip="Default constructor.">BM</ref><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;rv0<sp/>)<sp/>:<ref refid="classBM_1af00f0612fabe66241dd507188cdbf88" kindref="member" tooltip="Random variable of the posterior.">rv</ref><sp/>(<sp/>rv0<sp/>),<sp/><ref refid="classBM_15623fef6572a08c2b53b8c87b82dc979" kindref="member" tooltip="Logarithm of marginalized data likelihood.">ll</ref><sp/>(<sp/>0<sp/>),<ref refid="classBM_1bf6fb59b30141074f8ee1e2f43d03129" kindref="member" tooltip="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</ref><sp/>(<sp/>true<sp/>)<sp/>{</highlight><highlight class="comment">//Fixme:<sp/>test<sp/>rv</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="273"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline>
<codeline lineno="274"><highlight class="normal"></highlight></codeline>
<codeline lineno="278"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBM_1a892eff438aab2dd1a9e2efcb7fb5bdf" kindref="member" tooltip="Incremental Bayes rule.">bayes</ref><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>vec<sp/>&amp;dt<sp/>)<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="280"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBM_1a892eff438aab2dd1a9e2efcb7fb5bdf" kindref="member" tooltip="Incremental Bayes rule.">bayes</ref><sp/>(<sp/>mat<sp/>Dt<sp/>);</highlight></codeline>
<codeline lineno="282"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classepdf" kindref="compound" tooltip="Probability density function with numerical statistics, e.g. posterior density.">epdf</ref>&amp;<sp/><ref refid="classBM_13dc45554556926bde996a267636abe55" kindref="member" tooltip="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_epdf</ref>()<sp/>=0;</highlight></codeline>
<codeline lineno="283"><highlight class="normal"></highlight></codeline>
<codeline lineno="285" refid="classBM_1ca0f02b3b4144e0895cc14f7e0374bdd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classBM_1ca0f02b3b4144e0895cc14f7e0374bdd" kindref="member" tooltip="Destructor for future use;.">~BM</ref>()<sp/>{};</highlight></codeline>
<codeline lineno="287" refid="classBM_1126bd2595c48e311fc2a7ab72876092a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref>&amp;<sp/><ref refid="classBM_1126bd2595c48e311fc2a7ab72876092a" kindref="member" tooltip="access function">_rv</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classBM_1af00f0612fabe66241dd507188cdbf88" kindref="member" tooltip="Random variable of the posterior.">rv</ref>;}</highlight></codeline>
<codeline lineno="289" refid="classBM_187f4a547d2c29180be88175e5eab9c88" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="classBM_187f4a547d2c29180be88175e5eab9c88" kindref="member" tooltip="access function">_ll</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classBM_15623fef6572a08c2b53b8c87b82dc979" kindref="member" tooltip="Logarithm of marginalized data likelihood.">ll</ref>;}</highlight></codeline>
<codeline lineno="290"><highlight class="normal">};</highlight></codeline>
<codeline lineno="291"><highlight class="normal"></highlight></codeline>
<codeline lineno="301" refid="classBMcond" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classBMcond" kindref="compound" tooltip="Conditional Bayesian Filter.">BMcond</ref><sp/>{</highlight></codeline>
<codeline lineno="302"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="304" refid="classBMcond_19ba793c8ec453f04d372d17195ed8dec" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/><ref refid="classBMcond_19ba793c8ec453f04d372d17195ed8dec" kindref="member" tooltip="Identificator of the conditioning variable.">rvc</ref>;</highlight></codeline>
<codeline lineno="305"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="307"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBMcond_13543cfe274c35f9033c24d8036a96c4d" kindref="member" tooltip="Substitute val for rvc.">condition</ref><sp/>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>vec<sp/>&amp;val<sp/>)<sp/>=0;</highlight></codeline>
<codeline lineno="309" refid="classBMcond_19a38dcdabef902fd91da3c9fb6ac27f7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classBMcond_19a38dcdabef902fd91da3c9fb6ac27f7" kindref="member" tooltip="Default constructor.">BMcond</ref><sp/>(<sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref><sp/>&amp;rv0<sp/>)<sp/>:<ref refid="classBMcond_19ba793c8ec453f04d372d17195ed8dec" kindref="member" tooltip="Identificator of the conditioning variable.">rvc</ref><sp/>(<sp/>rv0<sp/>)<sp/>{};</highlight></codeline>
<codeline lineno="311" refid="classBMcond_1d40c72250cf93640f982d06de20815b2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classBMcond_1d40c72250cf93640f982d06de20815b2" kindref="member" tooltip="Destructor for future use.">~BMcond</ref>()<sp/>{};</highlight></codeline>
<codeline lineno="313" refid="classBMcond_13fa60348b2da6b4208bb95b8d146900a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classRV" kindref="compound" tooltip="Class representing variables, most often random variables.">RV</ref>&amp;<sp/><ref refid="classBMcond_13fa60348b2da6b4208bb95b8d146900a" kindref="member" tooltip="access function">_rvc</ref>()</highlight><highlight class="keyword"><sp/>const<sp/></highlight><highlight class="normal">{</highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classBMcond_19ba793c8ec453f04d372d17195ed8dec" kindref="member" tooltip="Identificator of the conditioning variable.">rvc</ref>;}</highlight></codeline>
<codeline lineno="314"><highlight class="normal">};</highlight></codeline>
<codeline lineno="315"><highlight class="normal"></highlight></codeline>
<codeline lineno="316"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/>//<sp/>BM_H</highlight></codeline>
    </programlisting>
    <location file="/home/smidl/work/git/mixpp/bdm/stat/libBM.h"/>
  </compounddef>
</doxygen>
