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

Revision 538, 22.5 kB (checked in by smidl, 15 years ago)

Documentation regenerated

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: bdm::euni Class Reference</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.8 -->
8<script type="text/javascript">
9<!--
10function changeDisplayState (e){
11  var num=this.id.replace(/[^[0-9]/g,'');
12  var button=this.firstChild;
13  var sectionDiv=document.getElementById('dynsection'+num);
14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
15    sectionDiv.style.display='block';
16    button.src='open.gif';
17  }else{
18    sectionDiv.style.display='none';
19    button.src='closed.gif';
20  }
21}
22function initDynSections(){
23  var divs=document.getElementsByTagName('div');
24  var sectionCounter=1;
25  for(var i=0;i<divs.length-1;i++){
26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
27      var header=divs[i];
28      var section=divs[i+1];
29      var button=header.firstChild;
30      if (button!='IMG'){
31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
32        button=document.createElement('img');
33        divs[i].insertBefore(button,divs[i].firstChild);
34      }
35      header.style.cursor='pointer';
36      header.onclick=changeDisplayState;
37      header.id='dynheader'+sectionCounter;
38      button.src='closed.gif';
39      section.id='dynsection'+sectionCounter;
40      section.style.display='none';
41      section.style.marginLeft='14px';
42      sectionCounter++;
43    }
44  }
45}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
55      <li><a href="files.html"><span>Files</span></a></li>
56    </ul>
57  </div>
58  <div class="tabs">
59    <ul>
60      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
61      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
62      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
63      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
64    </ul>
65  </div>
66  <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1euni.html">euni</a>
67  </div>
68</div>
69<div class="contents">
70<h1>bdm::euni Class Reference</h1><!-- doxytag: class="bdm::euni" --><!-- doxytag: inherits="bdm::epdf" -->Uniform distributed density on a rectangular support. 
71<a href="#_details">More...</a>
72<p>
73<code>#include &lt;<a class="el" href="exp__family_8h-source.html">exp_family.h</a>&gt;</code>
74<p>
75
76<p>
77<a href="classbdm_1_1euni-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
78<tr><td></td></tr>
79<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
80<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#caa07b8307bd793d5339d6583e0aba81">evallog</a> (const vec &amp;val) const </td></tr>
81
82<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc5df80359ead2918384b2004ce67194"></a><!-- doxytag: member="bdm::euni::sample" ref="fc5df80359ead2918384b2004ce67194" args="() const " -->
83vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#fc5df80359ead2918384b2004ce67194">sample</a> () const </td></tr>
84
85<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_7.png"> from density <img class="formulaInl" alt="$ f_x()$" src="form_8.png">. <br></td></tr>
86<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46caa8c13aba2e6228f964208918b226"></a><!-- doxytag: member="bdm::euni::mean" ref="46caa8c13aba2e6228f964208918b226" args="() const " -->
87vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#46caa8c13aba2e6228f964208918b226">mean</a> () const </td></tr>
88
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set values of <code>low</code> and <code>high</code> <br></td></tr>
90<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="951f932155111f6053c980f672b4c22c"></a><!-- doxytag: member="bdm::euni::variance" ref="951f932155111f6053c980f672b4c22c" args="() const " -->
91vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#951f932155111f6053c980f672b4c22c">variance</a> () const </td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br></td></tr>
94<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#77f5fef1f006fe056066da23b9e5f042">from_setting</a> (const Setting &amp;set)</td></tr>
95
96<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::euni::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" -->
97virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr>
100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::euni::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " -->
101virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr>
102
103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr>
104<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::euni::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" -->
105virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr>
106
107<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br></td></tr>
108<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
109<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8887b088e3ab0b01e96b88237d707b97"></a><!-- doxytag: member="bdm::euni::euni" ref="8887b088e3ab0b01e96b88237d707b97" args="()" -->
110&nbsp;</td><td class="memItemRight" valign="bottom"><b>euni</b> ()</td></tr>
111
112<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f40f4e92c36d090fca8300c4e4ae2c4d"></a><!-- doxytag: member="bdm::euni::euni" ref="f40f4e92c36d090fca8300c4e4ae2c4d" args="(const vec &amp;low0, const vec &amp;high0)" -->
113&nbsp;</td><td class="memItemRight" valign="bottom"><b>euni</b> (const vec &amp;low0, const vec &amp;high0)</td></tr>
114
115<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e130b323c62b42f1699537f99af6f09"></a><!-- doxytag: member="bdm::euni::set_parameters" ref="8e130b323c62b42f1699537f99af6f09" args="(const vec &amp;low0, const vec &amp;high0)" -->
116void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (const vec &amp;low0, const vec &amp;high0)</td></tr>
117
118<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
119<tr><td colspan="2"><div class="groupText">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: <ul>
120<li>empty constructor, </li>
121<li>copy constructor,</li>
122</ul>
123The following constructors should be supported for convenience: <ul>
124<li>constructor followed by calling <code>set_parameters()</code> </li>
125<li>constructor accepting random variables calling <code><a class="el" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff" title="Name its rv.">set_rv()</a></code> </li>
126</ul>
127All 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. <br><br></div></td></tr>
128<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::euni::set_parameters" ref="840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" -->
129void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr>
130
131<tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr>
132<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::euni::sample_m" ref="b4cf45fd83cc7573ede9fe1215256058" args="(int N) const " -->
133virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#b4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr>
134
135<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_9.png"> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_10.png">. <br></td></tr>
136<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d08b68a5abd461f1b6519597e344caf8"></a><!-- doxytag: member="bdm::euni::evallog_m" ref="d08b68a5abd461f1b6519597e344caf8" args="(const mat &amp;Val) const " -->
137virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#d08b68a5abd461f1b6519597e344caf8">evallog_m</a> (const mat &amp;Val) const </td></tr>
138
139<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
140<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9bc02dae61584138443baf6b1cbc1ac9"></a><!-- doxytag: member="bdm::euni::evallog_m" ref="9bc02dae61584138443baf6b1cbc1ac9" args="(const Array&lt; vec &gt; &amp;Avec) const " -->
141virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#9bc02dae61584138443baf6b1cbc1ac9">evallog_m</a> (const Array&lt; vec &gt; &amp;Avec) const </td></tr>
142
143<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
144<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm::euni::condition" ref="1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &amp;rv) const " -->
145virtual <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#1499d35b79bce0cfa64fc5cafb9c03b2">condition</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr>
146
147<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>
148<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a84b05f5293cab2aeb4e07faffa60906"></a><!-- doxytag: member="bdm::euni::marginal" ref="a84b05f5293cab2aeb4e07faffa60906" args="(const RV &amp;rv) const " -->
149virtual <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#a84b05f5293cab2aeb4e07faffa60906">marginal</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr>
150
151<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>
152<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a7705e80601957f7226d333a0a6d539"></a><!-- doxytag: member="bdm::euni::qbounds" ref="0a7705e80601957f7226d333a0a6d539" args="(vec &amp;lb, vec &amp;ub, double percentage=0.95) const " -->
153virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#0a7705e80601957f7226d333a0a6d539">qbounds</a> (vec &amp;lb, vec &amp;ub, double percentage=0.95) const </td></tr>
154
155<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>
156<tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr>
157<tr><td colspan="2"><div class="groupText">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: <br><br></div></td></tr>
158<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::euni::set_rv" ref="f423e28448dbb69ef4905295ec8de8ff" args="(const RV &amp;rv0)" -->
159void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff">set_rv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv0)</td></tr>
160
161<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name its rv. <br></td></tr>
162<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::euni::isnamed" ref="c4b863ff84c7a4882fb3ad18556027f9" args="() const " -->
163bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr>
164
165<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if rv is assigned. <br></td></tr>
166<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::euni::_rv" ref="a4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " -->
167const <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#a4ab378d5e004c3ff3e2d4e64f7bba21">_rv</a> () const </td></tr>
168
169<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr>
170<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr>
171<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::euni::dimension" ref="7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " -->
172int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr>
173
174<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <br></td></tr>
175<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
176<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff7ce6a2ef5ef0015bbd1398bed12f32"></a><!-- doxytag: member="bdm::euni::low" ref="ff7ce6a2ef5ef0015bbd1398bed12f32" args="" -->
177vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32">low</a></td></tr>
178
179<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">lower bound on support <br></td></tr>
180<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cfad2dea4a62db6872bda8abd75f0de1"></a><!-- doxytag: member="bdm::euni::high" ref="cfad2dea4a62db6872bda8abd75f0de1" args="" -->
181vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1">high</a></td></tr>
182
183<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">upper bound on support <br></td></tr>
184<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d3c27e331f90c754d80228108de8ed4c"></a><!-- doxytag: member="bdm::euni::distance" ref="d3c27e331f90c754d80228108de8ed4c" args="" -->
185vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c">distance</a></td></tr>
186
187<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">internal <br></td></tr>
188<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31bb13e8449a8eff35246d46dae35c20"></a><!-- doxytag: member="bdm::euni::nk" ref="31bb13e8449a8eff35246d46dae35c20" args="" -->
189double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#31bb13e8449a8eff35246d46dae35c20">nk</a></td></tr>
190
191<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">normalizing coefficients <br></td></tr>
192<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3e63be48dd58659663ca60cd18700476"></a><!-- doxytag: member="bdm::euni::lnk" ref="3e63be48dd58659663ca60cd18700476" args="" -->
193double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1euni.html#3e63be48dd58659663ca60cd18700476">lnk</a></td></tr>
194
195<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of log( <code>nk</code> ) <br></td></tr>
196<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::euni::dim" ref="16adac20ec7fe07e1ea0b27d917788ce" args="" -->
197int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr>
198
199<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the random variable <br></td></tr>
200<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::euni::rv" ref="62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" -->
201<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#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a></td></tr>
202
203<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of the random variable. <br></td></tr>
204</table>
205<hr><a name="_details"></a><h2>Detailed Description</h2>
206Uniform distributed density on a rectangular support. <hr><h2>Member Function Documentation</h2>
207<a class="anchor" name="caa07b8307bd793d5339d6583e0aba81"></a><!-- doxytag: member="bdm::euni::evallog" ref="caa07b8307bd793d5339d6583e0aba81" args="(const vec &amp;val) const " -->
208<div class="memitem">
209<div class="memproto">
210      <table class="memname">
211        <tr>
212          <td class="memname">double bdm::euni::evallog           </td>
213          <td>(</td>
214          <td class="paramtype">const vec &amp;&nbsp;</td>
215          <td class="paramname"> <em>val</em>          </td>
216          <td>&nbsp;)&nbsp;</td>
217          <td> const<code> [inline, virtual]</code></td>
218        </tr>
219      </table>
220</div>
221<div class="memdoc">
222
223<p>
224Compute log-probability of argument <code>val</code> In case the argument is out of suport return -Infinity
225<p>Reimplemented from <a class="el" href="classbdm_1_1epdf.html#deab266d63c236c277538867d5c3f249">bdm::epdf</a>.</p>
226
227<p>References <a class="el" href="exp__family_8h-source.html#l00460">high</a>, <a class="el" href="exp__family_8h-source.html#l00466">lnk</a>, and <a class="el" href="exp__family_8h-source.html#l00458">low</a>.</p>
228
229</div>
230</div><p>
231<a class="anchor" name="77f5fef1f006fe056066da23b9e5f042"></a><!-- doxytag: member="bdm::euni::from_setting" ref="77f5fef1f006fe056066da23b9e5f042" args="(const Setting &amp;set)" -->
232<div class="memitem">
233<div class="memproto">
234      <table class="memname">
235        <tr>
236          <td class="memname">void bdm::euni::from_setting           </td>
237          <td>(</td>
238          <td class="paramtype">const Setting &amp;&nbsp;</td>
239          <td class="paramname"> <em>set</em>          </td>
240          <td>&nbsp;)&nbsp;</td>
241          <td><code> [inline, virtual]</code></td>
242        </tr>
243      </table>
244</div>
245<div class="memdoc">
246
247<p>
248Load from structure with elements: <div class="fragment"><pre class="fragment"> { <a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a> = [...];          <span class="comment">// vector of upper bounds</span>
249   <a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a> = [...];           <span class="comment">// vector of lower bounds</span>
250   <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>,...}  <span class="comment">// description of RV</span>
251 }
252</pre></div> 
253<p>Reimplemented from <a class="el" href="classbdm_1_1epdf.html#fa9efc98a065b31c630fe18cc418f725">bdm::epdf</a>.</p>
254
255<p>References <a class="el" href="user__info_8h-source.html#l00410">bdm::UI::get()</a>, <a class="el" href="exp__family_8h-source.html#l00460">high</a>, and <a class="el" href="exp__family_8h-source.html#l00458">low</a>.</p>
256
257</div>
258</div><p>
259<hr>The documentation for this class was generated from the following file:<ul>
260<li><a class="el" href="exp__family_8h-source.html">exp_family.h</a></ul>
261</div>
262<hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 16 17:58:19 2009 for mixpp by&nbsp;
263<a href="http://www.doxygen.org/index.html">
264<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
265</body>
266</html>
Note: See TracBrowser for help on using the browser.