| [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> | 
|---|
| [290] | 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"> | 
|---|
| [290] | 71 | <h1>bdm::compositepdf Class Reference</h1><!-- doxytag: class="bdm::compositepdf" -->Abstract composition of pdfs, will be used for specific classes 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>. | 
|---|
|  | 72 | <a href="#_details">More...</a> | 
|---|
| [259] | 73 | <p> | 
|---|
| [290] | 74 | <code>#include <<a class="el" href="libBM_8h-source.html">libBM.h</a>></code> | 
|---|
|  | 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> | 
|---|
|  | 81 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4fb137d679de83f037616697b172c5c"></a><!-- doxytag: member="bdm::compositepdf::compositepdf" ref="b4fb137d679de83f037616697b172c5c" args="(Array< mpdf * > A0)" --> | 
|---|
|  | 82 |  </td><td class="memItemRight" valign="bottom"><b>compositepdf</b> (Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > A0)</td></tr> | 
|---|
|  | 83 |  | 
|---|
|  | 84 | <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> | 
|---|
|  | 85 |  | 
|---|
|  | 86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">find common rv, flag  <a href="#c73d39acc4378eee6a63155c3517d3c9"></a><br></td></tr> | 
|---|
|  | 87 | <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)" --> | 
|---|
|  | 88 | 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> | 
|---|
|  | 89 |  | 
|---|
|  | 90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">common rvc of all mpdfs is written to rvc <br></td></tr> | 
|---|
|  | 91 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> | 
|---|
|  | 92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ca3cd8ed92a7154f5b9ff13b1e9d52a"></a><!-- doxytag: member="bdm::compositepdf::n" ref="7ca3cd8ed92a7154f5b9ff13b1e9d52a" args="" --> | 
|---|
|  | 93 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a">n</a></td></tr> | 
|---|
|  | 94 |  | 
|---|
|  | 95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of mpdfs in the composite. <br></td></tr> | 
|---|
|  | 96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23faf2debc4dde10836393b8c665914a"></a><!-- doxytag: member="bdm::compositepdf::mpdfs" ref="23faf2debc4dde10836393b8c665914a" args="" --> | 
|---|
|  | 97 | 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> | 
|---|
|  | 98 |  | 
|---|
|  | 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elements of composition. <br></td></tr> | 
|---|
|  | 100 | </table> | 
|---|
| [290] | 101 | <hr><a name="_details"></a><h2>Detailed Description</h2> | 
|---|
|  | 102 | Abstract composition of pdfs, will be used for specific classes 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>. <hr><h2>Member Function Documentation</h2> | 
|---|
| [259] | 103 | <a class="anchor" name="c73d39acc4378eee6a63155c3517d3c9"></a><!-- doxytag: member="bdm::compositepdf::getrv" ref="c73d39acc4378eee6a63155c3517d3c9" args="(bool checkoverlap=false)" --> | 
|---|
|  | 104 | <div class="memitem"> | 
|---|
|  | 105 | <div class="memproto"> | 
|---|
|  | 106 | <table class="memname"> | 
|---|
|  | 107 | <tr> | 
|---|
|  | 108 | <td class="memname"><a class="el" href="classbdm_1_1RV.html">RV</a> bdm::compositepdf::getrv           </td> | 
|---|
|  | 109 | <td>(</td> | 
|---|
|  | 110 | <td class="paramtype">bool </td> | 
|---|
|  | 111 | <td class="paramname"> <em>checkoverlap</em> = <code>false</code>          </td> | 
|---|
|  | 112 | <td> ) </td> | 
|---|
|  | 113 | <td></td> | 
|---|
|  | 114 | </tr> | 
|---|
|  | 115 | </table> | 
|---|
|  | 116 | </div> | 
|---|
|  | 117 | <div class="memdoc"> | 
|---|
|  | 118 |  | 
|---|
|  | 119 | <p> | 
|---|
|  | 120 | find common rv, flag | 
|---|
|  | 121 | <p> | 
|---|
|  | 122 | <dl compact><dt><b>Parameters:</b></dt><dd> | 
|---|
|  | 123 | <table border="0" cellspacing="2" cellpadding="0"> | 
|---|
|  | 124 | <tr><td valign="top"></td><td valign="top"><em>checkoverlap</em> </td><td>modifies whether overlaps are acceptable </td></tr> | 
|---|
|  | 125 | </table> | 
|---|
|  | 126 | </dl> | 
|---|
|  | 127 |  | 
|---|
| [290] | 128 | <p>References <a class="el" href="libBM_8cpp-source.html#l00079">bdm::RV::add()</a>, <a class="el" href="libBM_8h-source.html#l00544">mpdfs</a>, and <a class="el" href="libBM_8h-source.html#l00542">n</a>.</p> | 
|---|
| [259] | 129 |  | 
|---|
| [290] | 130 | <p>Referenced by <a class="el" href="merger_8h-source.html#l00050">bdm::merger::merger()</a>, and <a class="el" href="emix_8h-source.html#l00180">bdm::mprod::mprod()</a>.</p> | 
|---|
| [271] | 131 |  | 
|---|
| [259] | 132 | </div> | 
|---|
|  | 133 | </div><p> | 
|---|
|  | 134 | <hr>The documentation for this class was generated from the following files:<ul> | 
|---|
| [261] | 135 | <li><a class="el" href="libBM_8h-source.html">libBM.h</a><li>libBM.cpp</ul> | 
|---|
| [259] | 136 | </div> | 
|---|
| [296] | 137 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 17 13:52:06 2009 for mixpp by  | 
|---|
| [259] | 138 | <a href="http://www.doxygen.org/index.html"> | 
|---|
| [290] | 139 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> | 
|---|
| [259] | 140 | </body> | 
|---|
|  | 141 | </html> | 
|---|