Changeset 614 for library/doc/html/classbdm_1_1ITppFileDS.html
- Timestamp:
- 09/13/09 23:14:58 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1ITppFileDS.html
r608 r614 82 82 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a1ea166e35aaaa1660905ed7249608c"></a><!-- doxytag: member="bdm::ITppFileDS::ITppFileDS" ref="a9a1ea166e35aaaa1660905ed7249608c" args="(const string &fname, const string &varname)" --> 83 83 </td><td class="memItemRight" valign="bottom"><b>ITppFileDS</b> (const string &fname, const string &varname)</td></tr> 84 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd192da176625a909fa853458b604566"></a><!-- doxytag: member="bdm::ITppFileDS::from_setting" ref="afd192da176625a909fa853458b604566" args="(const Setting &set)" --> 85 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ITppFileDS.html#afd192da176625a909fa853458b604566">from_setting</a> (const Setting &set)</td></tr> 86 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br/></td></tr> 84 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ITppFileDS.html#afd192da176625a909fa853458b604566">from_setting</a> (const Setting &set)</td></tr> 87 85 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0bf36650e9d1af2d0743ffe8a3fcff14"></a><!-- doxytag: member="bdm::ITppFileDS::getdata" ref="a0bf36650e9d1af2d0743ffe8a3fcff14" args="(vec &dt)" --> 88 86 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#a0bf36650e9d1af2d0743ffe8a3fcff14">getdata</a> (vec &dt)</td></tr> … … 100 98 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#a59d44ef34a523127dd79c076461c43b6">logit</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> 101 99 <tr><td class="mdescLeft"> </td><td class="mdescRight">no sense to log this type <br/></td></tr> 100 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a339a488b93f2fc37c80d9a9573fbd421"></a><!-- doxytag: member="bdm::ITppFileDS::max_length" ref="a339a488b93f2fc37c80d9a9573fbd421" args="()" --> 101 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a339a488b93f2fc37c80d9a9573fbd421">max_length</a> ()</td></tr> 102 <tr><td class="mdescLeft"> </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> 102 103 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6428f2778254e8304fb5a799b7f815a"></a><!-- doxytag: member="bdm::ITppFileDS::set_rvs" ref="ae6428f2778254e8304fb5a799b7f815a" args="(RV &drv, RV &urv)" --> 103 104 void </td><td class="memItemRight" valign="bottom"><b>set_rvs</b> (<a class="el" href="classbdm_1_1RV.html">RV</a> &drv, <a class="el" href="classbdm_1_1RV.html">RV</a> &urv)</td></tr> … … 144 145 ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a865814d49913dcf672bb20a4334d3dc4">rowid</a></td></tr> 145 146 <tr><td class="mdescLeft"> </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::ITppFileDS::delays" ref="a166522aed4d3b12d9b3c2afaf6673301" args="" -->147 ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a166522aed4d3b12d9b3c2afaf6673301">delays</a></td></tr>148 <tr><td class="mdescLeft"> </td><td class="mdescRight">vector of delays that are presented in Dt <br/></td></tr>149 147 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::ITppFileDS::dtsize" ref="af96cae44624e79638a91ec4f2c7c81a9" args="" --> 150 148 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#af96cae44624e79638a91ec4f2c7c81a9">dtsize</a></td></tr> … … 174 172 <p>Read Data Matrix from an IT file. </p> 175 173 <p>The constructor creates an internal matrix <code>Data</code> from an IT++ file. The file is binary and can be made using the IT++ library or the Matlab/Octave function itsave. NB: the data are stored columnwise, i.e. each column contains the data for time <img class="formulaInl" alt="$t$" src="form_22.png"/>! </p> 174 <hr/><h2>Member Function Documentation</h2> 175 <a class="anchor" id="afd192da176625a909fa853458b604566"></a><!-- doxytag: member="bdm::ITppFileDS::from_setting" ref="afd192da176625a909fa853458b604566" args="(const Setting &set)" --> 176 <div class="memitem"> 177 <div class="memproto"> 178 <table class="memname"> 179 <tr> 180 <td class="memname">void ITppFileDS::from_setting </td> 181 <td>(</td> 182 <td class="paramtype">const Setting & </td> 183 <td class="paramname"> <em>set</em></td> 184 <td> ) </td> 185 <td><code> [virtual]</code></td> 186 </tr> 187 </table> 188 </div> 189 <div class="memdoc"> 190 <p>Create object from the following structure </p> 191 <div class="fragment"><pre class="fragment"> { <span class="keyword">class </span>= "<a class="code" href="classbdm_1_1MemDS.html#a1ea231f4066652996cde4826560d93e3" title="Default constructor.">MemDS</a>"; 192 <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> 193 --- optional --- 194 drv = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>; ...} <span class="comment">// Identification how rows of the matrix Data will be known to others</span> 195 time = 0; <span class="comment">// Index of the first column to user_info,</span> 196 <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> 197 } 198 </pre></div><p>If the optional fields are not given, they will be filled as follows: </p> 199 <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]; 200 drv = {names=(<span class="stringliteral">"ch0"</span>, <span class="stringliteral">"ch1"</span>, <span class="stringliteral">"ch2"</span>, ...<span class="stringliteral">"number_of_rows_of_Data"</span>); 201 sizes=( 1 1 1 ...); 202 times=( 0 0 0 ...); 203 }; 204 time = 0; 205 </pre></div><p> If <code>rowid</code> is given, <code>drv</code> will be named after indeces in rowids.</p> 206 <p>Hence the data provided by method <code><a class="el" href="classbdm_1_1FileDS.html#a0bf36650e9d1af2d0743ffe8a3fcff14" 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> 207 208 <p>Reimplemented from <a class="el" href="classbdm_1_1MemDS.html#afaebfe6d7a2a43421be05d8cf7d7ae45">bdm::MemDS</a>.</p> 209 210 <p>References <a class="el" href="datasources_8h_source.html#l00032">bdm::MemDS::Data</a>, <a class="el" href="bdmbase_8h_source.html#l01023">bdm::DS::set_drv()</a>, and <a class="el" href="datasources_8h_source.html#l00034">bdm::MemDS::time</a>.</p> 211 212 </div> 213 </div> 176 214 <hr/>The documentation for this class was generated from the following files:<ul> 177 215 <li><a class="el" href="datasources_8h_source.html">datasources.h</a></li> … … 179 217 </ul> 180 218 </div> 181 <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:332009 for mixpp by 219 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 13 22:40:42 2009 for mixpp by 182 220 <a href="http://www.doxygen.org/index.html"> 183 221 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>