root/library/doc/html/classbdm_1_1euni.html @ 619

Revision 617, 22.3 kB (checked in by smidl, 15 years ago)

simulator + doc

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<title>mixpp: bdm::euni Class Reference</title>
6<link href="tabs.css" rel="stylesheet" type="text/css"/>
7<link href="doxygen.css" rel="stylesheet" type="text/css"/>
8</head>
9<body>
10<!-- Generated by Doxygen 1.6.1 -->
11<script type="text/javascript">
12<!--
13function changeDisplayState (e){
14  var num=this.id.replace(/[^[0-9]/g,'');
15  var button=this.firstChild;
16  var sectionDiv=document.getElementById('dynsection'+num);
17  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
18    sectionDiv.style.display='block';
19    button.src='open.gif';
20  }else{
21    sectionDiv.style.display='none';
22    button.src='closed.gif';
23  }
24}
25function initDynSections(){
26  var divs=document.getElementsByTagName('div');
27  var sectionCounter=1;
28  for(var i=0;i<divs.length-1;i++){
29    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
30      var header=divs[i];
31      var section=divs[i+1];
32      var button=header.firstChild;
33      if (button!='IMG'){
34        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
35        button=document.createElement('img');
36        divs[i].insertBefore(button,divs[i].firstChild);
37      }
38      header.style.cursor='pointer';
39      header.onclick=changeDisplayState;
40      header.id='dynheader'+sectionCounter;
41      button.src='closed.gif';
42      section.id='dynsection'+sectionCounter;
43      section.style.display='none';
44      section.style.marginLeft='14px';
45      sectionCounter++;
46    }
47  }
48}
49window.onload = initDynSections;
50-->
51</script>
52<div class="navigation" id="top">
53  <div class="tabs">
54    <ul>
55      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
56      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
57      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
58      <li><a href="files.html"><span>Files</span></a></li>
59    </ul>
60  </div>
61  <div class="tabs">
62    <ul>
63      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
64      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
65      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
66      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
67    </ul>
68  </div>
69  <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1euni.html">euni</a>
70  </div>
71</div>
72<div class="contents">
73<h1>bdm::euni Class Reference</h1><!-- doxytag: class="bdm::euni" --><!-- doxytag: inherits="bdm::epdf" -->
74<p>Uniform distributed density on a rectangular support. 
75<a href="#_details">More...</a></p>
76<hr/><a name="_details"></a><h2>Detailed Description</h2>
77<p>Uniform distributed density on a rectangular support. </p>
78
79<p><code>#include &lt;<a class="el" href="exp__family_8h_source.html">exp_family.h</a>&gt;</code></p>
80
81<p><a href="classbdm_1_1euni-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="acaa07b8307bd793d5339d6583e0aba81"></a><!-- doxytag: member="bdm::euni::evallog" ref="acaa07b8307bd793d5339d6583e0aba81" args="(const vec &amp;val) const " -->
85double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#acaa07b8307bd793d5339d6583e0aba81">evallog</a> (const vec &amp;val) const </td></tr>
86<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of argument <code>val</code> In case the argument is out of suport return -Infinity. <br/></td></tr>
87<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc5df80359ead2918384b2004ce67194"></a><!-- doxytag: member="bdm::euni::sample" ref="afc5df80359ead2918384b2004ce67194" args="() const " -->
88vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#afc5df80359ead2918384b2004ce67194">sample</a> () const </td></tr>
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_3.png"/> from density <img class="formulaInl" alt="$ f_x()$" src="form_13.png"/>. <br/></td></tr>
90<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46caa8c13aba2e6228f964208918b226"></a><!-- doxytag: member="bdm::euni::mean" ref="a46caa8c13aba2e6228f964208918b226" args="() const " -->
91vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#a46caa8c13aba2e6228f964208918b226">mean</a> () const </td></tr>
92<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set values of <code>low</code> and <code>high</code> <br/></td></tr>
93<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a951f932155111f6053c980f672b4c22c"></a><!-- doxytag: member="bdm::euni::variance" ref="a951f932155111f6053c980f672b4c22c" args="() const " -->
94vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#a951f932155111f6053c980f672b4c22c">variance</a> () const </td></tr>
95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br/></td></tr>
96<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#a77f5fef1f006fe056066da23b9e5f042">from_setting</a> (const Setting &amp;set)</td></tr>
97<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70c5a7dcf7cb0f7ea83b9165f31868e9"></a><!-- doxytag: member="bdm::euni::validate" ref="a70c5a7dcf7cb0f7ea83b9165f31868e9" args="()" -->
98void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#a70c5a7dcf7cb0f7ea83b9165f31868e9">validate</a> ()</td></tr>
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br/></td></tr>
100<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::euni::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" -->
101virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr>
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr>
103<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::euni::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " -->
104virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr>
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr>
106<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
107<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp559a25fdb98a7d1fd1c3771ac568d5e9"></a> </p>
108<br/><br/></div></td></tr>
109<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8887b088e3ab0b01e96b88237d707b97"></a><!-- doxytag: member="bdm::euni::euni" ref="a8887b088e3ab0b01e96b88237d707b97" args="()" -->
110&nbsp;</td><td class="memItemRight" valign="bottom"><b>euni</b> ()</td></tr>
111<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af40f4e92c36d090fca8300c4e4ae2c4d"></a><!-- doxytag: member="bdm::euni::euni" ref="af40f4e92c36d090fca8300c4e4ae2c4d" args="(const vec &amp;low0, const vec &amp;high0)" -->
112&nbsp;</td><td class="memItemRight" valign="bottom"><b>euni</b> (const vec &amp;low0, const vec &amp;high0)</td></tr>
113<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e130b323c62b42f1699537f99af6f09"></a><!-- doxytag: member="bdm::euni::set_parameters" ref="a8e130b323c62b42f1699537f99af6f09" args="(const vec &amp;low0, const vec &amp;high0)" -->
114void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (const vec &amp;low0, const vec &amp;high0)</td></tr>
115<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
116<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp559a25fdb98a7d1fd1c3771ac568d5e9"></a> Construction of each <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> should support two types of constructors: </p>
117<ul>
118<li>empty constructor, </li>
119<li>copy constructor,</li>
120</ul>
121<p>The following constructors should be supported for convenience: </p>
122<ul>
123<li>constructor followed by calling <code>set_parameters()</code> </li>
124<li>constructor accepting random variables calling <code><a class="el" href="classbdm_1_1epdf.html#af423e28448dbb69ef4905295ec8de8ff" title="Name its rv.">set_rv()</a></code> </li>
125</ul>
126<p>All internal data structures are constructed as empty. Their values (including sizes) will be set by method <code>set_parameters()</code>. This way references can be initialized in constructors. </p>
127<br/><br/></div></td></tr>
128<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::euni::set_parameters" ref="a840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" -->
129void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr>
130<tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr>
131<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp96552c993870a5dd6bb0ea321f1ceb78"></a> </p>
132<br/><br/></div></td></tr>
133<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::euni::sample_m" ref="ab4cf45fd83cc7573ede9fe1215256058" args="(int N) const " -->
134virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ab4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr>
135<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_14.png"/> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_15.png"/>. <br/></td></tr>
136<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad08b68a5abd461f1b6519597e344caf8"></a><!-- doxytag: member="bdm::euni::evallog_m" ref="ad08b68a5abd461f1b6519597e344caf8" args="(const mat &amp;Val) const " -->
137virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ad08b68a5abd461f1b6519597e344caf8">evallog_m</a> (const mat &amp;Val) const </td></tr>
138<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br/></td></tr>
139<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bc02dae61584138443baf6b1cbc1ac9"></a><!-- doxytag: member="bdm::euni::evallog_m" ref="a9bc02dae61584138443baf6b1cbc1ac9" args="(const Array&lt; vec &gt; &amp;Avec) const " -->
140virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a9bc02dae61584138443baf6b1cbc1ac9">evallog_m</a> (const Array&lt; vec &gt; &amp;Avec) const </td></tr>
141<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br/></td></tr>
142<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm::euni::condition" ref="a1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &amp;rv) const " -->
143virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a1499d35b79bce0cfa64fc5cafb9c03b2">condition</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr>
144<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return conditional density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remaining rvs will be in conditioning. <br/></td></tr>
145<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa84b05f5293cab2aeb4e07faffa60906"></a><!-- doxytag: member="bdm::euni::marginal" ref="aa84b05f5293cab2aeb4e07faffa60906" args="(const RV &amp;rv) const " -->
146virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1epdf.html">epdf</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#aa84b05f5293cab2aeb4e07faffa60906">marginal</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr>
147<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return marginal density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remainig rvs are intergrated out. <br/></td></tr>
148<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a7705e80601957f7226d333a0a6d539"></a><!-- doxytag: member="bdm::euni::qbounds" ref="a0a7705e80601957f7226d333a0a6d539" args="(vec &amp;lb, vec &amp;ub, double percentage=0.95) const " -->
149virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a0a7705e80601957f7226d333a0a6d539">qbounds</a> (vec &amp;lb, vec &amp;ub, double percentage=0.95) const </td></tr>
150<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lower and upper bounds of <code>percentage</code> % quantile, returns mean-2*sigma as default. <br/></td></tr>
151<tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr>
152<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp14fc6e1cb822e9dfc5edc16c20fabe11"></a>Description of the random quantity via attribute <code>rv</code> is optional. For operations such as sampling <code>rv</code> does not need to be set. However, for <code>marginalization</code> and <code>conditioning</code> <code>rv</code> has to be set. NB: </p>
153<br/><br/></div></td></tr>
154<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::euni::set_rv" ref="af423e28448dbb69ef4905295ec8de8ff" args="(const RV &amp;rv0)" -->
155void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#af423e28448dbb69ef4905295ec8de8ff">set_rv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv0)</td></tr>
156<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name its rv. <br/></td></tr>
157<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::euni::isnamed" ref="ac4b863ff84c7a4882fb3ad18556027f9" args="() const " -->
158bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ac4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr>
159<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if rv is assigned. <br/></td></tr>
160<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::euni::_rv" ref="aa4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " -->
161const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#aa4ab378d5e004c3ff3e2d4e64f7bba21">_rv</a> () const </td></tr>
162<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br/></td></tr>
163<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr>
164<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p>
165<br/><br/></div></td></tr>
166<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::euni::dimension" ref="a7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " -->
167int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr>
168<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <br/></td></tr>
169<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
170<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff7ce6a2ef5ef0015bbd1398bed12f32"></a><!-- doxytag: member="bdm::euni::low" ref="aff7ce6a2ef5ef0015bbd1398bed12f32" args="" -->
171vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#aff7ce6a2ef5ef0015bbd1398bed12f32">low</a></td></tr>
172<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">lower bound on support <br/></td></tr>
173<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acfad2dea4a62db6872bda8abd75f0de1"></a><!-- doxytag: member="bdm::euni::high" ref="acfad2dea4a62db6872bda8abd75f0de1" args="" -->
174vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#acfad2dea4a62db6872bda8abd75f0de1">high</a></td></tr>
175<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">upper bound on support <br/></td></tr>
176<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad3c27e331f90c754d80228108de8ed4c"></a><!-- doxytag: member="bdm::euni::distance" ref="ad3c27e331f90c754d80228108de8ed4c" args="" -->
177vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#ad3c27e331f90c754d80228108de8ed4c">distance</a></td></tr>
178<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">internal <br/></td></tr>
179<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31bb13e8449a8eff35246d46dae35c20"></a><!-- doxytag: member="bdm::euni::nk" ref="a31bb13e8449a8eff35246d46dae35c20" args="" -->
180double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#a31bb13e8449a8eff35246d46dae35c20">nk</a></td></tr>
181<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">normalizing coefficients <br/></td></tr>
182<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e63be48dd58659663ca60cd18700476"></a><!-- doxytag: member="bdm::euni::lnk" ref="a3e63be48dd58659663ca60cd18700476" args="" -->
183double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#a3e63be48dd58659663ca60cd18700476">lnk</a></td></tr>
184<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of log( <code>nk</code> ) <br/></td></tr>
185<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::euni::dim" ref="a16adac20ec7fe07e1ea0b27d917788ce" args="" -->
186int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr>
187<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the random variable <br/></td></tr>
188<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::euni::rv" ref="a62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" -->
189<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a></td></tr>
190<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of the random variable. <br/></td></tr>
191</table>
192<hr/><h2>Member Function Documentation</h2>
193<a class="anchor" id="a77f5fef1f006fe056066da23b9e5f042"></a><!-- doxytag: member="bdm::euni::from_setting" ref="a77f5fef1f006fe056066da23b9e5f042" args="(const Setting &amp;set)" -->
194<div class="memitem">
195<div class="memproto">
196      <table class="memname">
197        <tr>
198          <td class="memname">void bdm::euni::from_setting </td>
199          <td>(</td>
200          <td class="paramtype">const Setting &amp;&nbsp;</td>
201          <td class="paramname"> <em>set</em></td>
202          <td>&nbsp;)&nbsp;</td>
203          <td><code> [inline, virtual]</code></td>
204        </tr>
205      </table>
206</div>
207<div class="memdoc">
208<p>Load from structure with elements: </p>
209<div class="fragment"><pre class="fragment"> { <a class="code" href="classbdm_1_1euni.html#acfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a> = [...];          <span class="comment">// vector of upper bounds</span>
210   <a class="code" href="classbdm_1_1euni.html#aff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a> = [...];           <span class="comment">// vector of lower bounds</span>
211   <a class="code" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">&quot;RV&quot;</span>,...}  <span class="comment">// description of RV</span>
212 }
213</pre></div> 
214<p>Reimplemented from <a class="el" href="classbdm_1_1epdf.html#afa9efc98a065b31c630fe18cc418f725">bdm::epdf</a>.</p>
215
216<p>References <a class="el" href="user__info_8h_source.html#l00443">bdm::UI::get()</a>, <a class="el" href="exp__family_8h_source.html#l00478">high</a>, <a class="el" href="exp__family_8h_source.html#l00476">low</a>, and <a class="el" href="exp__family_8h_source.html#l00529">validate()</a>.</p>
217
218</div>
219</div>
220<hr/>The documentation for this class was generated from the following file:<ul>
221<li><a class="el" href="exp__family_8h_source.html">exp_family.h</a></li>
222</ul>
223</div>
224<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 15 23:42:49 2009 for mixpp by&nbsp;
225<a href="http://www.doxygen.org/index.html">
226<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
227</body>
228</html>
Note: See TracBrowser for help on using the browser.