<?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="classemix" kind="class" prot="public">
    <compoundname>emix</compoundname>
    <basecompoundref refid="classepdf" prot="public" virt="non-virtual">epdf</basecompoundref>
    <includes refid="emix_8h" local="no">emix.h</includes>
      <sectiondef kind="protected-attrib">
      <memberdef kind="variable" id="classemix_1cdc8f4e2a5e43595ac5450d8a7f9d1ab" prot="protected" static="no" mutable="no">
        <type>vec</type>
        <definition>vec emix::w</definition>
        <argsstring></argsstring>
        <name>w</name>
        <briefdescription>
<para>weights of the components </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/emix.h" line="35" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/emix.h" bodystart="35" bodyend="-1"/>
        <referencedby refid="classemix_135baf0f62307455cebfbf462144b4dd8" compoundref="emix_8h" startline="59" endline="59">_w</referencedby>
        <referencedby refid="classemix_1469e910479b3402589104ef3bb1b5741" compoundref="emix_8h" startline="50" endline="55">evalpdflog</referencedby>
        <referencedby refid="classemix_1b662a51d042b062020460e64bff4e9e8" compoundref="emix_8h" startline="45" endline="49">mean</referencedby>
        <referencedby refid="classemix_10650601f24e633e0ab09aa1e46c14483" compoundref="emix_8cpp" startline="14" endline="23">sample</referencedby>
        <referencedby refid="classemix_16ce82b24d7fe540ddbf44b472a005555" compoundref="emix_8cpp" startline="5" endline="12">set_parameters</referencedby>
      </memberdef>
      <memberdef kind="variable" id="classemix_17155d827417b53fb6aa5cff1459e6eb4" prot="protected" static="no" mutable="no">
        <type>Array&lt; <ref refid="classepdf" kindref="compound">epdf</ref> * &gt;</type>
        <definition>Array&lt;epdf*&gt; emix::Coms</definition>
        <argsstring></argsstring>
        <name>Coms</name>
        <briefdescription>
<para>Component (epdfs). </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/emix.h" line="37" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/emix.h" bodystart="37" bodyend="-1"/>
        <referencedby refid="classemix_1469e910479b3402589104ef3bb1b5741" compoundref="emix_8h" startline="50" endline="55">evalpdflog</referencedby>
        <referencedby refid="classemix_1b662a51d042b062020460e64bff4e9e8" compoundref="emix_8h" startline="45" endline="49">mean</referencedby>
        <referencedby refid="classemix_10650601f24e633e0ab09aa1e46c14483" compoundref="emix_8cpp" startline="14" endline="23">sample</referencedby>
        <referencedby refid="classemix_16ce82b24d7fe540ddbf44b472a005555" compoundref="emix_8cpp" startline="5" endline="12">set_parameters</referencedby>
      </memberdef>
      <memberdef kind="variable" id="classepdf_174da992e3f5d598da8850b646b79b9d9" prot="protected" static="no" mutable="no">
        <type><ref refid="classRV" kindref="compound">RV</ref></type>
        <definition>RV epdf::rv</definition>
        <argsstring></argsstring>
        <name>rv</name>
        <briefdescription>
<para>Identified of the random variable. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/libBM.h" line="138" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/libBM.h" bodystart="138" bodyend="-1"/>
        <referencedby refid="classepdf_14778ea61ef400813e47750e024e9fc2f" compoundref="libBM_8h" startline="164" endline="164">epdf::_rv</referencedby>
        <referencedby refid="classegamma_1de84faac8f9799dfe2777ddbedf997ef" compoundref="libEF_8cpp" startline="83" endline="92">egamma::evalpdflog</referencedby>
        <referencedby refid="classegiw_1425cbc53b377274e28c6add942bab62d" compoundref="libEF_8cpp" startline="19" endline="29">egiw::evalpdflog</referencedby>
        <referencedby refid="classegamma_1d6dbbdb72360f9e54d64501f80318bb6" compoundref="libEF_8cpp" startline="94" endline="103">egamma::lognc</referencedby>
        <referencedby refid="classeEmp_1ba055c19038cc72628d98e25197e982d" compoundref="libEF_8h" startline="334" endline="338">eEmp::mean</referencedby>
        <referencedby refid="classemix_1b662a51d042b062020460e64bff4e9e8" compoundref="emix_8h" startline="45" endline="49">mean</referencedby>
        <referencedby refid="classeuni_14a0e09392be17beaee120ba98fc038cd" compoundref="libEF_8h" startline="206" endline="211">euni::sample</referencedby>
        <referencedby refid="classegamma_18e10c0021b5dfdd9cb62c6959b5ef425" compoundref="libEF_8cpp" startline="55" endline="66">egamma::sample</referencedby>
        <referencedby refid="classepdf_154d7dd53a641b618771cd9bee135181f" compoundref="libBM_8cpp" startline="113" endline="117">epdf::sampleN</referencedby>
        <referencedby refid="classemix_16ce82b24d7fe540ddbf44b472a005555" compoundref="emix_8cpp" startline="5" endline="12">set_parameters</referencedby>
      </memberdef>
      </sectiondef>
      <sectiondef kind="public-func">
      <memberdef kind="function" id="classemix_13a10c8481115a5460877272ddb6532a6" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
        <type></type>
        <definition>emix::emix</definition>
        <argsstring>(RV &amp;rv)</argsstring>
        <name>emix</name>
        <param>
          <type><ref refid="classRV" kindref="compound">RV</ref> &amp;</type>
          <declname>rv</declname>
        </param>
        <briefdescription>
<para>Default constructor. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/emix.h" line="40" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/emix.h" bodystart="40" bodyend="40"/>
      </memberdef>
      <memberdef kind="function" id="classemix_16ce82b24d7fe540ddbf44b472a005555" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void emix::set_parameters</definition>
        <argsstring>(const vec &amp;w, const Array&lt; epdf * &gt; &amp;Coms)</argsstring>
        <name>set_parameters</name>
        <param>
          <type>const vec &amp;</type>
          <declname>w</declname>
        </param>
        <param>
          <type>const Array&lt; <ref refid="classepdf" kindref="compound">epdf</ref> * &gt; &amp;</type>
          <declname>Coms</declname>
        </param>
        <briefdescription>
<para>Set weights <computeroutput>w</computeroutput> and components <computeroutput>R</computeroutput>. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/emix.h" line="42" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/emix.cpp" bodystart="5" bodyend="12"/>
        <references refid="classepdf_14778ea61ef400813e47750e024e9fc2f" compoundref="libBM_8h" startline="164" endline="164">epdf::_rv</references>
        <references refid="classemix_17155d827417b53fb6aa5cff1459e6eb4" compoundref="emix_8h" startline="37">Coms</references>
        <references refid="classRV_182cc7fa22ce91cf461a522ad62014c65" compoundref="libBM_8cpp" startline="109" endline="111">RV::equal</references>
        <references refid="classepdf_174da992e3f5d598da8850b646b79b9d9" compoundref="libBM_8h" startline="138">epdf::rv</references>
        <references refid="classemix_1cdc8f4e2a5e43595ac5450d8a7f9d1ab" compoundref="emix_8h" startline="35">w</references>
        <referencedby refid="classmmix_1e7681490a5c5b2d0a43f4e5842e10a9d" compoundref="emix_8h" startline="180" endline="187">mmix::set_parameters</referencedby>
      </memberdef>
      <memberdef kind="function" id="classemix_10650601f24e633e0ab09aa1e46c14483" prot="public" static="no" const="yes" explicit="no" inline="no" virt="virtual">
        <type>vec</type>
        <definition>vec emix::sample</definition>
        <argsstring>() const </argsstring>
        <name>sample</name>
        <reimplements refid="classepdf_18019654e494bf5e458f6fb947e11b262">sample</reimplements>
        <briefdescription>
<para>Returns the required moment of the <ref refid="classepdf" kindref="compound">epdf</ref>. </para>        </briefdescription>
        <detaileddescription>
<para>Returns a sample, <formula id="28">$x$</formula> from density <formula id="59">$epdf(rv)$</formula> </para>        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/emix.h" line="44" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/emix.cpp" bodystart="14" bodyend="23"/>
        <references refid="classemix_17155d827417b53fb6aa5cff1459e6eb4" compoundref="emix_8h" startline="37">Coms</references>
        <references refid="classemix_1cdc8f4e2a5e43595ac5450d8a7f9d1ab" compoundref="emix_8h" startline="35">w</references>
      </memberdef>
      <memberdef kind="function" id="classemix_1b662a51d042b062020460e64bff4e9e8" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="virtual">
        <type>vec</type>
        <definition>vec emix::mean</definition>
        <argsstring>() const </argsstring>
        <name>mean</name>
        <reimplements refid="classepdf_1bf0a070a8f3e67a93604ca724638b870">mean</reimplements>
        <briefdescription>
<para>return expected value </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/emix.h" line="45" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/emix.h" bodystart="45" bodyend="49"/>
        <references refid="classemix_17155d827417b53fb6aa5cff1459e6eb4" compoundref="emix_8h" startline="37">Coms</references>
        <references refid="classRV_1f5c7b8bd589eef09ccdf3329a0addea0" compoundref="libBM_8h" startline="69" endline="69">RV::count</references>
        <references refid="classepdf_174da992e3f5d598da8850b646b79b9d9" compoundref="libBM_8h" startline="138">epdf::rv</references>
        <references refid="classemix_1cdc8f4e2a5e43595ac5450d8a7f9d1ab" compoundref="emix_8h" startline="35">w</references>
      </memberdef>
      <memberdef kind="function" id="classemix_1469e910479b3402589104ef3bb1b5741" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="virtual">
        <type>double</type>
        <definition>double emix::evalpdflog</definition>
        <argsstring>(const vec &amp;val) const </argsstring>
        <name>evalpdflog</name>
        <reimplements refid="classepdf_16aef3eca74899692503769c18add1a4c">evalpdflog</reimplements>
        <param>
          <type>const vec &amp;</type>
          <declname>val</declname>
        </param>
        <briefdescription>
<para>Compute log-probability of argument <computeroutput>val</computeroutput>. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/emix.h" line="50" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/emix.h" bodystart="50" bodyend="55"/>
        <references refid="classemix_17155d827417b53fb6aa5cff1459e6eb4" compoundref="emix_8h" startline="37">Coms</references>
        <references refid="classemix_1cdc8f4e2a5e43595ac5450d8a7f9d1ab" compoundref="emix_8h" startline="35">w</references>
      </memberdef>
      <memberdef kind="function" id="classemix_135baf0f62307455cebfbf462144b4dd8" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
        <type>vec &amp;</type>
        <definition>vec&amp; emix::_w</definition>
        <argsstring>()</argsstring>
        <name>_w</name>
        <briefdescription>
<para>returns a pointer to the internal mean value. Use with Care! </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/emix.h" line="59" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/emix.h" bodystart="59" bodyend="59"/>
        <references refid="classemix_1cdc8f4e2a5e43595ac5450d8a7f9d1ab" compoundref="emix_8h" startline="35">w</references>
      </memberdef>
      <memberdef kind="function" id="classepdf_154d7dd53a641b618771cd9bee135181f" prot="public" static="no" const="yes" explicit="no" inline="no" virt="virtual">
        <type>mat</type>
        <definition>mat epdf::sampleN</definition>
        <argsstring>(int N) const </argsstring>
        <name>sampleN</name>
        <param>
          <type>int</type>
          <declname>N</declname>
        </param>
        <briefdescription>
<para>Returns N samples from density <formula id="59">$epdf(rv)$</formula>. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/libBM.h" line="151" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/libBM.cpp" bodystart="113" bodyend="117"/>
        <references refid="classRV_1f5c7b8bd589eef09ccdf3329a0addea0" compoundref="libBM_8h" startline="69" endline="69">RV::count</references>
        <references refid="classepdf_174da992e3f5d598da8850b646b79b9d9" compoundref="libBM_8h" startline="138">epdf::rv</references>
      </memberdef>
      <memberdef kind="function" id="classepdf_13ea597362e11a0040fe7c990269d072c" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="virtual">
        <type>double</type>
        <definition>virtual double epdf::eval</definition>
        <argsstring>(const vec &amp;val) const </argsstring>
        <name>eval</name>
        <reimplementedby refid="classenorm_1b9e1dfd33692d7b3f1a59f17b0e61bd0">eval</reimplementedby>
        <reimplementedby refid="classenorm_1b9e1dfd33692d7b3f1a59f17b0e61bd0">eval</reimplementedby>
        <reimplementedby refid="classenorm_1b9e1dfd33692d7b3f1a59f17b0e61bd0">eval</reimplementedby>
        <reimplementedby refid="classeuni_12723d4992900b5c5495bfa03628195ed">eval</reimplementedby>
        <reimplementedby refid="classenorm_1b9e1dfd33692d7b3f1a59f17b0e61bd0">eval</reimplementedby>
        <param>
          <type>const vec &amp;</type>
          <declname>val</declname>
        </param>
        <briefdescription>
<para>Compute probability of argument <computeroutput>val</computeroutput>. </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/libBM.h" line="153" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/libBM.h" bodystart="153" bodyend="153"/>
        <references refid="classepdf_16aef3eca74899692503769c18add1a4c">epdf::evalpdflog</references>
        <referencedby refid="classmpdf_180b738ece5bd4f8c4edaee4b38906f91" compoundref="libBM_8h" startline="198" endline="198">mpdf::evalcond</referencedby>
      </memberdef>
      <memberdef kind="function" id="classepdf_14778ea61ef400813e47750e024e9fc2f" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
        <type><ref refid="classRV" kindref="compound">RV</ref> &amp;</type>
        <definition>RV&amp; epdf::_rv</definition>
        <argsstring>()</argsstring>
        <name>_rv</name>
        <briefdescription>
<para>access function, possibly dangerous! </para>        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/bdm/stat/libBM.h" line="164" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/libBM.h" bodystart="164" bodyend="164"/>
        <references refid="classepdf_174da992e3f5d598da8850b646b79b9d9" compoundref="libBM_8h" startline="138">epdf::rv</references>
        <referencedby refid="classemix_16ce82b24d7fe540ddbf44b472a005555" compoundref="emix_8cpp" startline="5" endline="12">set_parameters</referencedby>
      </memberdef>
      </sectiondef>
    <briefdescription>
<para>Mixture of epdfs. </para>    </briefdescription>
    <detaileddescription>
<para>Density function: <formula id="63">\[ f(x) = \sum_{i=1}^{n} w_{i} f_i(x), \quad \sum_{i=1}^n w_i = 1. \]</formula> where <formula id="64">$f_i(x)$</formula> is any density on random variable <formula id="28">$x$</formula>, called <emphasis>component</emphasis>, </para>    </detaileddescription>
    <inheritancegraph>
      <node id="996">
        <label>epdf</label>
        <link refid="classepdf"/>
      </node>
      <node id="995">
        <label>emix</label>
        <link refid="classemix"/>
        <childnode refid="996" relation="public-inheritance">
        </childnode>
      </node>
    </inheritancegraph>
    <collaborationgraph>
      <node id="998">
        <label>epdf</label>
        <link refid="classepdf"/>
        <childnode refid="999" relation="usage">
          <edgelabel>rv</edgelabel>
        </childnode>
      </node>
      <node id="999">
        <label>RV</label>
        <link refid="classRV"/>
      </node>
      <node id="997">
        <label>emix</label>
        <link refid="classemix"/>
        <childnode refid="998" relation="public-inheritance">
        </childnode>
      </node>
    </collaborationgraph>
    <location file="/home/smidl/work/git/mixpp/bdm/stat/emix.h" line="32" bodyfile="/home/smidl/work/git/mixpp/bdm/stat/emix.h" bodystart="32" bodyend="60"/>
    <listofallmembers>
      <member refid="classepdf_14778ea61ef400813e47750e024e9fc2f" prot="public" virt="non-virtual"><scope>emix</scope><name>_rv</name></member>
      <member refid="classemix_135baf0f62307455cebfbf462144b4dd8" prot="public" virt="non-virtual"><scope>emix</scope><name>_w</name></member>
      <member refid="classemix_17155d827417b53fb6aa5cff1459e6eb4" prot="protected" virt="non-virtual"><scope>emix</scope><name>Coms</name></member>
      <member refid="classemix_13a10c8481115a5460877272ddb6532a6" prot="public" virt="non-virtual"><scope>emix</scope><name>emix</name></member>
      <member refid="classepdf_1d8eb760037b3bad5a0d64081606697cd" prot="public" virt="non-virtual"><scope>emix</scope><name>epdf</name></member>
      <member refid="classepdf_1c95b1a27a8dd9507bb9a5a3cb2809c7a" prot="public" virt="non-virtual"><scope>emix</scope><name>epdf</name></member>
      <member refid="classepdf_13ea597362e11a0040fe7c990269d072c" prot="public" virt="virtual"><scope>emix</scope><name>eval</name></member>
      <member refid="classemix_1469e910479b3402589104ef3bb1b5741" prot="public" virt="virtual"><scope>emix</scope><name>evalpdflog</name></member>
      <member refid="classemix_1b662a51d042b062020460e64bff4e9e8" prot="public" virt="virtual"><scope>emix</scope><name>mean</name></member>
      <member refid="classepdf_174da992e3f5d598da8850b646b79b9d9" prot="protected" virt="non-virtual"><scope>emix</scope><name>rv</name></member>
      <member refid="classemix_10650601f24e633e0ab09aa1e46c14483" prot="public" virt="virtual"><scope>emix</scope><name>sample</name></member>
      <member refid="classepdf_154d7dd53a641b618771cd9bee135181f" prot="public" virt="virtual"><scope>emix</scope><name>sampleN</name></member>
      <member refid="classemix_16ce82b24d7fe540ddbf44b472a005555" prot="public" virt="non-virtual"><scope>emix</scope><name>set_parameters</name></member>
      <member refid="classemix_1cdc8f4e2a5e43595ac5450d8a7f9d1ab" prot="protected" virt="non-virtual"><scope>emix</scope><name>w</name></member>
      <member refid="classepdf_10a322dd106f04c0a2915e3d4f4227396" prot="public" virt="virtual"><scope>emix</scope><name>~epdf</name></member>
    </listofallmembers>
  </compounddef>
</doxygen>
