Show
Ignore:
Timestamp:
09/13/09 23:14:58 (15 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/doc/html/classbdm_1_1MemDS.html

    r608 r614  
    8080<table border="0" cellpadding="0" cellspacing="0"> 
    8181<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> 
     82<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a339a488b93f2fc37c80d9a9573fbd421"></a><!-- doxytag: member="bdm::MemDS::max_length" ref="a339a488b93f2fc37c80d9a9573fbd421" args="()" --> 
     83int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a339a488b93f2fc37c80d9a9573fbd421">max_length</a> ()</td></tr> 
     84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns maximum number of provided data, by default it is set to maximum allowed length, shorter <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> should overload this method! See, <a class="el" href="classbdm_1_1MemDS.html#a339a488b93f2fc37c80d9a9573fbd421" title="Returns maximum number of provided data, by default it is set to maximum allowed...">MemDS.max_length()</a>. <br/></td></tr> 
    8285<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23522b9e7dd0bb0c365cc9cde4c05449"></a><!-- doxytag: member="bdm::MemDS::getdata" ref="a23522b9e7dd0bb0c365cc9cde4c05449" args="(vec &amp;dt)" --> 
    8386void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a23522b9e7dd0bb0c365cc9cde4c05449">getdata</a> (vec &amp;dt)</td></tr> 
     
    99102&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a1ea231f4066652996cde4826560d93e3">MemDS</a> ()</td></tr> 
    100103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br/></td></tr> 
    101 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf4cb6fb424f7fedfd7396f60951bbb1"></a><!-- doxytag: member="bdm::MemDS::MemDS" ref="acf4cb6fb424f7fedfd7396f60951bbb1" args="(mat &amp;Dat, ivec &amp;rowid0, ivec &amp;delays0)" --> 
    102 &nbsp;</td><td class="memItemRight" valign="bottom"><b>MemDS</b> (mat &amp;Dat, ivec &amp;rowid0, ivec &amp;delays0)</td></tr> 
     104<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a650ab83fbf15416520cac11a66247e39"></a><!-- doxytag: member="bdm::MemDS::MemDS" ref="a650ab83fbf15416520cac11a66247e39" args="(mat &amp;Dat, ivec &amp;rowid0)" --> 
     105&nbsp;</td><td class="memItemRight" valign="bottom"><b>MemDS</b> (mat &amp;Dat, ivec &amp;rowid0)</td></tr> 
     106<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#afaebfe6d7a2a43421be05d8cf7d7ae45">from_setting</a> (const Setting &amp;set)</td></tr> 
    103107<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6bced13f84f6bf04449728817e049e1d"></a><!-- doxytag: member="bdm::MemDS::write" ref="a6bced13f84f6bf04449728817e049e1d" args="(vec &amp;ut, const ivec &amp;indeces)" --> 
    104108virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a6bced13f84f6bf04449728817e049e1d">write</a> (vec &amp;ut, const ivec &amp;indeces)</td></tr> 
     
    125129virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
    126130<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> 
    127 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0551e3121091c5199bf4413b50522176"></a><!-- doxytag: member="bdm::MemDS::from_setting" ref="a0551e3121091c5199bf4413b50522176" args="(const Setting &amp;set)" --> 
    128 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">from_setting</a> (const Setting &amp;set)</td></tr> 
    129 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br/></td></tr> 
    130131<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::MemDS::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " --> 
    131132virtual 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> 
     
    144145ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a865814d49913dcf672bb20a4334d3dc4">rowid</a></td></tr> 
    145146<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">vector of rows that are presented in Dt <br/></td></tr> 
    146 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a166522aed4d3b12d9b3c2afaf6673301"></a><!-- doxytag: member="bdm::MemDS::delays" ref="a166522aed4d3b12d9b3c2afaf6673301" args="" --> 
    147 ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a166522aed4d3b12d9b3c2afaf6673301">delays</a></td></tr> 
    148 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">vector of delays that are presented in Dt <br/></td></tr> 
    149147<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::MemDS::dtsize" ref="af96cae44624e79638a91ec4f2c7c81a9" args="" --> 
    150148int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#af96cae44624e79638a91ec4f2c7c81a9">dtsize</a></td></tr> 
     
    173171<hr/><a name="_details"></a><h2>Detailed Description</h2> 
    174172<p>Memory storage of off-line data column-wise. </p> 
    175 <p>The data are stored in an internal matrix <code>Data</code> . Each column of Data corresponds to one discrete time observation <img class="formulaInl" alt="$t$" src="form_22.png"/>. Access to this matrix is via indices <code>rowid</code> and <code>delays</code>.</p> 
     173<p>The data are stored in an internal matrix <code>Data</code> . Each column of Data corresponds to one discrete time observation <img class="formulaInl" alt="$t$" src="form_22.png"/>. Access to this matrix is via indices <code>rowid</code>.</p> 
    176174<p>The data can be loaded from a file. </p> 
     175<hr/><h2>Member Function Documentation</h2> 
     176<a class="anchor" id="afaebfe6d7a2a43421be05d8cf7d7ae45"></a><!-- doxytag: member="bdm::MemDS::from_setting" ref="afaebfe6d7a2a43421be05d8cf7d7ae45" args="(const Setting &amp;set)" --> 
     177<div class="memitem"> 
     178<div class="memproto"> 
     179      <table class="memname"> 
     180        <tr> 
     181          <td class="memname">void bdm::MemDS::from_setting </td> 
     182          <td>(</td> 
     183          <td class="paramtype">const Setting &amp;&nbsp;</td> 
     184          <td class="paramname"> <em>set</em></td> 
     185          <td>&nbsp;)&nbsp;</td> 
     186          <td><code> [inline, virtual]</code></td> 
     187        </tr> 
     188      </table> 
     189</div> 
     190<div class="memdoc"> 
     191<p>Create object from the following structure </p> 
     192<div class="fragment"><pre class="fragment">                { <span class="keyword">class </span>= &quot;<a class="code" href="classbdm_1_1MemDS.html#a1ea231f4066652996cde4826560d93e3" title="Default constructor.">MemDS</a>&quot;; 
     193                   <a class="code" href="classbdm_1_1MemDS.html#aa724f4cbfc32e79bacc044253234e260" title="internal matrix of data">Data</a> = (...);            <span class="comment">// Data matrix or data vector</span> 
     194                   --- optional --- 
     195                   drv = {<span class="keyword">class</span>=<span class="stringliteral">&quot;RV&quot;</span>; ...} <span class="comment">// Identification how rows of the matrix Data will be known to others</span> 
     196                   time = 0;               <span class="comment">// Index of the first column to user_info,</span> 
     197                   <a class="code" href="classbdm_1_1MemDS.html#a865814d49913dcf672bb20a4334d3dc4" title="vector of rows that are presented in Dt">rowid</a> = [1,2,3...];     <span class="comment">// ids of rows to be used</span> 
     198                } 
     199</pre></div><p>If the optional fields are not given, they will be filled as follows: </p> 
     200<div class="fragment"><pre class="fragment">                <a class="code" href="classbdm_1_1MemDS.html#a865814d49913dcf672bb20a4334d3dc4" title="vector of rows that are presented in Dt">rowid</a>= [0, 1, 2, ...number_of_rows_of_Data]; 
     201                drv = {names=(<span class="stringliteral">&quot;ch0&quot;</span>, <span class="stringliteral">&quot;ch1&quot;</span>, <span class="stringliteral">&quot;ch2&quot;</span>, ...<span class="stringliteral">&quot;number_of_rows_of_Data&quot;</span>); 
     202                      sizes=( 1    1    1 ...); 
     203                          times=( 0    0    0 ...); 
     204                          }; 
     205                time = 0; 
     206</pre></div><p> If <code>rowid</code> is given, <code>drv</code> will be named after indeces in rowids.</p> 
     207<p>Hence the data provided by method <code><a class="el" href="classbdm_1_1MemDS.html#a23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data=[output, input].">getdata()</a></code> will be full column of matrix Data starting from the first record. </p> 
     208 
     209<p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 
     210 
     211<p>Reimplemented in <a class="el" href="classbdm_1_1ITppFileDS.html#afd192da176625a909fa853458b604566">bdm::ITppFileDS</a>, and <a class="el" href="classbdm_1_1mxArrayDS.html#a3f8986832001f54ef808edaf3988d025">bdm::mxArrayDS</a>.</p> 
     212 
     213<p>References <a class="el" href="datasources_8h_source.html#l00032">Data</a>, <a class="el" href="bdmbase_8h_source.html#l00951">bdm::DS::dtsize</a>, <a class="el" href="user__info_8h_source.html#l00443">bdm::UI::get()</a>, <a class="el" href="datasources_8h_source.html#l00036">rowid</a>, <a class="el" href="bdmbase_8h_source.html#l01023">bdm::DS::set_drv()</a>, <a class="el" href="datasources_8h_source.html#l00034">time</a>, and <a class="el" href="bdmbase_8h_source.html#l00953">bdm::DS::utsize</a>.</p> 
     214 
     215</div> 
     216</div> 
    177217<hr/>The documentation for this class was generated from the following files:<ul> 
    178218<li><a class="el" href="datasources_8h_source.html">datasources.h</a></li> 
     
    180220</ul> 
    181221</div> 
    182 <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:33 2009 for mixpp by&nbsp; 
     222<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 13 22:40:42 2009 for mixpp by&nbsp; 
    183223<a href="http://www.doxygen.org/index.html"> 
    184224<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>