Show
Ignore:
Timestamp:
02/09/09 23:13:44 (16 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/libDS_8h-source.html

    r261 r264  
    3434<a name="l00038"></a>00038  
    3535<a name="l00039"></a>00039         <span class="keyword">public</span>: 
    36 <a name="l00040"></a>00040                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data.">getdata</a> ( vec &amp;dt ); 
    37 <a name="l00041"></a>00041                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data.">getdata</a> ( vec &amp;dt, <span class="keyword">const</span> ivec &amp;indeces ); 
     36<a name="l00040"></a>00040                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data=[output, input].">getdata</a> ( vec &amp;dt ); 
     37<a name="l00041"></a>00041                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data=[output, input].">getdata</a> ( vec &amp;dt, <span class="keyword">const</span> ivec &amp;indeces ); 
    3838<a name="l00042"></a>00042                 <span class="keywordtype">void</span> linkrvs ( <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &amp;drv, <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &amp;urv ); 
    3939<a name="l00043"></a><a class="code" href="classbdm_1_1MemDS.html#9a7f17598fe2b458707ba932865beef5">00043</a>                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#9a7f17598fe2b458707ba932865beef5" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut ) {it_error ( <span class="stringliteral">"MemDS::write is not supported"</span> );} 
     
    4545<a name="l00054"></a><a class="code" href="classbdm_1_1ArxDS.html">00054</a>         <span class="keyword">class </span><a class="code" href="classbdm_1_1ArxDS.html" title="Generator of ARX data.">ArxDS</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> { 
    4646<a name="l00056"></a>00056                 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> Rrv; 
    47 <a name="l00058"></a>00058                 vec Y; 
    48 <a name="l00060"></a>00060                 vec H; 
    49 <a name="l00062"></a>00062                 vec rgr; 
    50 <a name="l00064"></a>00064                 <a class="code" href="classbdm_1_1datalink__e2e.html" title="DataLink is a connection between two data vectors Up and Down.">datalink_e2e</a> rgrlnk; 
    51 <a name="l00066"></a>00066                 <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm&lt;chmat&gt;</a> model; 
    52 <a name="l00067"></a>00067                 <span class="keyword">public</span>: 
    53 <a name="l00068"></a><a class="code" href="classbdm_1_1ArxDS.html#db242e35812c311c8415bb7e31c3f595">00068</a>                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#db242e35812c311c8415bb7e31c3f595" title="Returns full vector of observed data.">getdata</a> ( vec &amp;dt ){it_assert_debug(dt.length()==Y.length(),<span class="stringliteral">"ArxDS"</span>); dt=Y;}; 
    54 <a name="l00069"></a><a class="code" href="classbdm_1_1ArxDS.html#fd61140869637b91bc23215ab7f45d3b">00069</a>                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#db242e35812c311c8415bb7e31c3f595" title="Returns full vector of observed data.">getdata</a> ( vec &amp;dt, <span class="keyword">const</span> ivec &amp;indexes ){it_assert_debug(dt.length()==Y.length(),<span class="stringliteral">"ArxDS"</span>); dt=Y;}; 
    55 <a name="l00070"></a><a class="code" href="classbdm_1_1ArxDS.html#8f6da8a00abba70bc58c7a4030bd8940">00070</a>                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#8f6da8a00abba70bc58c7a4030bd8940" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut ){it_assert_debug(ut.length()==<a class="code" href="classbdm_1_1DS.html#9ac5970128fd39f4f6226723cd1de702" title="Action variables, accepted by write().">Urv</a>.<a class="code" href="classbdm_1_1RV.html#2174751a00ce19f941edd2c1a861be67" title="Return number of scalars in the RV.">count</a>(),<span class="stringliteral">"ArxDS"</span>); H.set_subvector(0,ut);}; 
    56 <a name="l00071"></a><a class="code" href="classbdm_1_1ArxDS.html#7240ea989a6453e58468feea319dcf0b">00071</a>                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#8f6da8a00abba70bc58c7a4030bd8940" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut, <span class="keyword">const</span> ivec &amp;indexes ){it_assert_debug(ut.length()==<a class="code" href="classbdm_1_1DS.html#9ac5970128fd39f4f6226723cd1de702" title="Action variables, accepted by write().">Urv</a>.<a class="code" href="classbdm_1_1RV.html#2174751a00ce19f941edd2c1a861be67" title="Return number of scalars in the RV.">count</a>(),<span class="stringliteral">"ArxDS"</span>); set_subvector(H,indexes,ut);}; 
    57 <a name="l00072"></a>00072                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#57dfa26b23cc03d53b123fa7e0474b19" title="Moves from  to , i.e. perfroms the actions and reads response of the system.">step</a>(); 
    58 <a name="l00074"></a>00074                 <a class="code" href="classbdm_1_1ArxDS.html#e6f17e13dc0c9187ed8dbb19f3c4330a" title="Default constructor.">ArxDS</a> ( <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &amp;drv, <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &amp;urv, <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rrv); 
    59 <a name="l00076"></a><a class="code" href="classbdm_1_1ArxDS.html#2d9abc62f1fee862f0e1c60c5c4a3c8a">00076</a>                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#2d9abc62f1fee862f0e1c60c5c4a3c8a" title="Set parameters of the internal model.">set_parameters</a>(<span class="keyword">const</span> mat &amp;Th0, <span class="keyword">const</span> vec mu0, <span class="keyword">const</span> <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp;sqR0) 
    60 <a name="l00077"></a>00077                 {model.<a class="code" href="classbdm_1_1mlnorm.html#5d18dec3167584338a4775c1d165d96f" title="Set A and R.">set_parameters</a>(Th0, mu0, sqR0); }; 
    61 <a name="l00078"></a>00078         }; 
    62 <a name="l00079"></a>00079  
    63 <a name="l00080"></a>00080 }; <span class="comment">//namespace</span> 
     47<a name="l00058"></a>00058                 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> Hrv; 
     48<a name="l00060"></a>00060                 vec Y; 
     49<a name="l00062"></a>00062                 vec H; 
     50<a name="l00064"></a>00064                 vec rgr; 
     51<a name="l00066"></a>00066                 datalink_e2e rgrlnk; 
     52<a name="l00068"></a>00068                 <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm&lt;chmat&gt;</a> model; 
     53<a name="l00069"></a>00069                 <span class="keyword">public</span>: 
     54<a name="l00070"></a><a class="code" href="classbdm_1_1ArxDS.html#db242e35812c311c8415bb7e31c3f595">00070</a>                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#db242e35812c311c8415bb7e31c3f595" title="Returns full vector of observed data=[output, input].">getdata</a> ( vec &amp;dt ){it_assert_debug(dt.length()==Y.length(),<span class="stringliteral">"ArxDS"</span>); dt=Y;}; 
     55<a name="l00071"></a><a class="code" href="classbdm_1_1ArxDS.html#fd61140869637b91bc23215ab7f45d3b">00071</a>                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#db242e35812c311c8415bb7e31c3f595" title="Returns full vector of observed data=[output, input].">getdata</a> ( vec &amp;dt, <span class="keyword">const</span> ivec &amp;indexes ){it_assert_debug(dt.length()==Y.length(),<span class="stringliteral">"ArxDS"</span>); dt=Y(indexes);}; 
     56<a name="l00072"></a><a class="code" href="classbdm_1_1ArxDS.html#8f6da8a00abba70bc58c7a4030bd8940">00072</a>                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#8f6da8a00abba70bc58c7a4030bd8940" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut ){it_assert_debug(ut.length()==<a class="code" href="classbdm_1_1DS.html#9ac5970128fd39f4f6226723cd1de702" title="Action variables, accepted by write().">Urv</a>.<a class="code" href="classbdm_1_1RV.html#2174751a00ce19f941edd2c1a861be67" title="Return number of scalars in the RV.">count</a>(),<span class="stringliteral">"ArxDS"</span>); H.set_subvector(0,ut);}; 
     57<a name="l00073"></a><a class="code" href="classbdm_1_1ArxDS.html#7240ea989a6453e58468feea319dcf0b">00073</a>                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#8f6da8a00abba70bc58c7a4030bd8940" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut, <span class="keyword">const</span> ivec &amp;indexes ){it_assert_debug(ut.length()==<a class="code" href="classbdm_1_1DS.html#9ac5970128fd39f4f6226723cd1de702" title="Action variables, accepted by write().">Urv</a>.<a class="code" href="classbdm_1_1RV.html#2174751a00ce19f941edd2c1a861be67" title="Return number of scalars in the RV.">count</a>(),<span class="stringliteral">"ArxDS"</span>); set_subvector(H,indexes,ut);}; 
     58<a name="l00074"></a>00074                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#57dfa26b23cc03d53b123fa7e0474b19" title="Moves from  to , i.e. perfroms the actions and reads response of the system.">step</a>(); 
     59<a name="l00076"></a>00076                 <a class="code" href="classbdm_1_1ArxDS.html#e6f17e13dc0c9187ed8dbb19f3c4330a" title="Default constructor.">ArxDS</a> ( <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &amp;drv, <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &amp;urv, <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rrv); 
     60<a name="l00078"></a><a class="code" href="classbdm_1_1ArxDS.html#2d9abc62f1fee862f0e1c60c5c4a3c8a">00078</a>                 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#2d9abc62f1fee862f0e1c60c5c4a3c8a" title="Set parameters of the internal model.">set_parameters</a>(<span class="keyword">const</span> mat &amp;Th0, <span class="keyword">const</span> vec mu0, <span class="keyword">const</span> <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> &amp;sqR0) 
     61<a name="l00079"></a>00079                 {model.<a class="code" href="classbdm_1_1mlnorm.html#5d18dec3167584338a4775c1d165d96f" title="Set A and R.">set_parameters</a>(Th0, mu0, sqR0); }; 
     62<a name="l00080"></a>00080         }; 
    6463<a name="l00081"></a>00081  
    65 <a name="l00082"></a>00082 <span class="preprocessor">#endif // DS_H</span> 
     64<a name="l00082"></a>00082 }; <span class="comment">//namespace</span> 
     65<a name="l00083"></a>00083  
     66<a name="l00084"></a>00084 <span class="preprocessor">#endif // DS_H</span> 
    6667</pre></div></div> 
    67 <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 6 15:29:45 2009 for mixpp by&nbsp; 
     68<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 6 19:49:45 2009 for mixpp by&nbsp; 
    6869<a href="http://www.doxygen.org/index.html"> 
    6970<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>