| [259] | 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::compositepdf Class Reference</title> | 
|---|
 | 4 | <link href="tabs.css" rel="stylesheet" type="text/css"> | 
|---|
| [290] | 5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> | 
|---|
| [259] | 6 | </head><body> | 
|---|
| [398] | 7 | <!-- Generated by Doxygen 1.5.8 --> | 
|---|
| [271] | 8 | <script type="text/javascript"> | 
|---|
 | 9 | <!-- | 
|---|
 | 10 | function 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 | } | 
|---|
 | 22 | function 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 | } | 
|---|
 | 46 | window.onload = initDynSections; | 
|---|
 | 47 | --> | 
|---|
 | 48 | </script> | 
|---|
| [259] | 49 | <div class="navigation" id="top"> | 
|---|
 | 50 |   <div class="tabs"> | 
|---|
 | 51 |     <ul> | 
|---|
| [271] | 52 |       <li><a href="main.html"><span>Main Page</span></a></li> | 
|---|
| [259] | 53 |       <li><a href="pages.html"><span>Related Pages</span></a></li> | 
|---|
 | 54 |       <li><a href="modules.html"><span>Modules</span></a></li> | 
|---|
| [290] | 55 |       <li class="current"><a href="annotated.html"><span>Classes</span></a></li> | 
|---|
| [259] | 56 |       <li><a href="files.html"><span>Files</span></a></li> | 
|---|
 | 57 |     </ul> | 
|---|
 | 58 |   </div> | 
|---|
 | 59 |   <div class="tabs"> | 
|---|
 | 60 |     <ul> | 
|---|
 | 61 |       <li><a href="annotated.html"><span>Class List</span></a></li> | 
|---|
| [290] | 62 |       <li><a href="classes.html"><span>Class Index</span></a></li> | 
|---|
| [259] | 63 |       <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> | 
|---|
 | 64 |       <li><a href="functions.html"><span>Class Members</span></a></li> | 
|---|
 | 65 |     </ul> | 
|---|
 | 66 |   </div> | 
|---|
| [271] | 67 |   <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1compositepdf.html">compositepdf</a> | 
|---|
| [259] | 68 |   </div> | 
|---|
 | 69 | </div> | 
|---|
 | 70 | <div class="contents"> | 
|---|
| [396] | 71 | <h1>bdm::compositepdf Class Reference</h1><!-- doxytag: class="bdm::compositepdf" -->Chain rule of pdfs - abstract part common for <a class="el" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a> and merger. this abstract class is common to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> and <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>.   | 
|---|
| [290] | 72 | <a href="#_details">More...</a> | 
|---|
| [259] | 73 | <p> | 
|---|
| [397] | 74 | <code>#include <<a class="el" href="bdmbase_8h-source.html">bdmbase.h</a>></code> | 
|---|
| [290] | 75 | <p> | 
|---|
| [259] | 76 |  | 
|---|
 | 77 | <p> | 
|---|
| [290] | 78 | <a href="classbdm_1_1compositepdf-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> | 
|---|
| [259] | 79 | <tr><td></td></tr> | 
|---|
 | 80 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> | 
|---|
| [396] | 81 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ea5fb90edd44c930643efa5ef36fd58d"></a><!-- doxytag: member="bdm::compositepdf::compositepdf" ref="ea5fb90edd44c930643efa5ef36fd58d" args="(Array< mpdf * > A0, bool own=false)" --> | 
|---|
 | 82 |  </td><td class="memItemRight" valign="bottom"><b>compositepdf</b> (Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > A0, bool own=false)</td></tr> | 
|---|
| [259] | 83 |  | 
|---|
| [396] | 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1d4a1f50c9a4a33015af015cac1d724d"></a><!-- doxytag: member="bdm::compositepdf::set_elements" ref="1d4a1f50c9a4a33015af015cac1d724d" args="(Array< mpdf * > A0, bool own=false)" --> | 
|---|
 | 85 | void </td><td class="memItemRight" valign="bottom"><b>set_elements</b> (Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > A0, bool own=false)</td></tr> | 
|---|
 | 86 |  | 
|---|
| [259] | 87 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9">getrv</a> (bool checkoverlap=false)</td></tr> | 
|---|
 | 88 |  | 
|---|
 | 89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">find common rv, flag  <a href="#c73d39acc4378eee6a63155c3517d3c9"></a><br></td></tr> | 
|---|
 | 90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c71fc2c51f49d797e61f479f543c75ce"></a><!-- doxytag: member="bdm::compositepdf::setrvc" ref="c71fc2c51f49d797e61f479f543c75ce" args="(const RV &rv, RV &rvc)" --> | 
|---|
 | 91 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#c71fc2c51f49d797e61f479f543c75ce">setrvc</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv, <a class="el" href="classbdm_1_1RV.html">RV</a> &rvc)</td></tr> | 
|---|
 | 92 |  | 
|---|
 | 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">common rvc of all mpdfs is written to rvc <br></td></tr> | 
|---|
 | 94 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> | 
|---|
 | 95 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23faf2debc4dde10836393b8c665914a"></a><!-- doxytag: member="bdm::compositepdf::mpdfs" ref="23faf2debc4dde10836393b8c665914a" args="" --> | 
|---|
| [354] | 96 | Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a">mpdfs</a></td></tr> | 
|---|
| [259] | 97 |  | 
|---|
 | 98 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elements of composition. <br></td></tr> | 
|---|
| [396] | 99 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bd642a575896ca95d46caf2dc607961b"></a><!-- doxytag: member="bdm::compositepdf::owning_mpdfs" ref="bd642a575896ca95d46caf2dc607961b" args="" --> | 
|---|
 | 100 | bool </td><td class="memItemRight" valign="bottom"><b>owning_mpdfs</b></td></tr> | 
|---|
 | 101 |  | 
|---|
| [259] | 102 | </table> | 
|---|
| [290] | 103 | <hr><a name="_details"></a><h2>Detailed Description</h2> | 
|---|
| [396] | 104 | Chain rule of pdfs - abstract part common for <a class="el" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a> and merger. this abstract class is common to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> and <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>.  | 
|---|
 | 105 | <p> | 
|---|
| [397] | 106 | <dl compact><dt><b><a class="el" href="todo.html#_todo000001">Todo:</a></b></dt><dd>Think of better design - global functions rv=get_rv(Array<mpdf*> mpdfs); ?? </dd></dl> | 
|---|
| [396] | 107 | <hr><h2>Member Function Documentation</h2> | 
|---|
| [259] | 108 | <a class="anchor" name="c73d39acc4378eee6a63155c3517d3c9"></a><!-- doxytag: member="bdm::compositepdf::getrv" ref="c73d39acc4378eee6a63155c3517d3c9" args="(bool checkoverlap=false)" --> | 
|---|
 | 109 | <div class="memitem"> | 
|---|
 | 110 | <div class="memproto"> | 
|---|
 | 111 |       <table class="memname"> | 
|---|
 | 112 |         <tr> | 
|---|
 | 113 |           <td class="memname"><a class="el" href="classbdm_1_1RV.html">RV</a> bdm::compositepdf::getrv           </td> | 
|---|
 | 114 |           <td>(</td> | 
|---|
 | 115 |           <td class="paramtype">bool </td> | 
|---|
 | 116 |           <td class="paramname"> <em>checkoverlap</em> = <code>false</code>          </td> | 
|---|
 | 117 |           <td> ) </td> | 
|---|
 | 118 |           <td></td> | 
|---|
 | 119 |         </tr> | 
|---|
 | 120 |       </table> | 
|---|
 | 121 | </div> | 
|---|
 | 122 | <div class="memdoc"> | 
|---|
 | 123 |  | 
|---|
 | 124 | <p> | 
|---|
 | 125 | find common rv, flag  | 
|---|
 | 126 | <p> | 
|---|
 | 127 | <dl compact><dt><b>Parameters:</b></dt><dd> | 
|---|
 | 128 |   <table border="0" cellspacing="2" cellpadding="0"> | 
|---|
 | 129 |     <tr><td valign="top"></td><td valign="top"><em>checkoverlap</em> </td><td>modifies whether overlaps are acceptable </td></tr> | 
|---|
 | 130 |   </table> | 
|---|
 | 131 | </dl> | 
|---|
 | 132 |  | 
|---|
| [397] | 133 | <p>References <a class="el" href="bdmbase_8cpp-source.html#l00078">bdm::RV::add()</a>, and <a class="el" href="bdmbase_8h-source.html#l00639">mpdfs</a>.</p> | 
|---|
| [271] | 134 |  | 
|---|
| [401] | 135 | <p>Referenced by <a class="el" href="merger_8h-source.html#l00086">bdm::merger_base::set_sources()</a>.</p> | 
|---|
| [397] | 136 |  | 
|---|
| [259] | 137 | </div> | 
|---|
 | 138 | </div><p> | 
|---|
 | 139 | <hr>The documentation for this class was generated from the following files:<ul> | 
|---|
| [397] | 140 | <li><a class="el" href="bdmbase_8h-source.html">bdmbase.h</a><li>bdmbase.cpp</ul> | 
|---|
 | 141 | </div> | 
|---|
| [401] | 142 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jul 1 13:05:57 2009 for mixpp by  | 
|---|
| [259] | 143 | <a href="http://www.doxygen.org/index.html"> | 
|---|
| [398] | 144 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> | 
|---|
| [259] | 145 | </body> | 
|---|
 | 146 | </html> | 
|---|