root/library/doc/html/classbdm_1_1FileDS.html @ 651

Revision 651, 22.6 kB (checked in by mido, 15 years ago)

\doc directory cleaned a bit

Line 
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::FileDS Class Reference</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.9 -->
8<script type="text/javascript">
9<!--
10function 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}
22function 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}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
55      <li><a href="files.html"><span>Files</span></a></li>
56    </ul>
57  </div>
58  <div class="tabs">
59    <ul>
60      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
61      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
62      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
63      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
64    </ul>
65  </div>
66  <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1FileDS.html">FileDS</a>
67  </div>
68</div>
69<div class="contents">
70<h1>bdm::FileDS Class Reference</h1><!-- doxytag: class="bdm::FileDS" --><!-- doxytag: inherits="bdm::MemDS" --><code>#include &lt;<a class="el" href="datasources_8h_source.html">datasources.h</a>&gt;</code>
71<p>
72
73<p>
74<a href="classbdm_1_1FileDS-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
75<tr><td></td></tr>
76<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
77<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0bf36650e9d1af2d0743ffe8a3fcff14"></a><!-- doxytag: member="bdm::FileDS::getdata" ref="0bf36650e9d1af2d0743ffe8a3fcff14" args="(vec &amp;dt)" -->
78void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#0bf36650e9d1af2d0743ffe8a3fcff14">getdata</a> (vec &amp;dt)</td></tr>
79
80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns full vector of observed data=[output, input]. <br></td></tr>
81<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c546e8d9eb71e079e046e3d2f69c6c4"></a><!-- doxytag: member="bdm::FileDS::getdata" ref="3c546e8d9eb71e079e046e3d2f69c6c4" args="(vec &amp;dt, const ivec &amp;indices)" -->
82void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#3c546e8d9eb71e079e046e3d2f69c6c4">getdata</a> (vec &amp;dt, const ivec &amp;indices)</td></tr>
83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns data records at indeces. <br></td></tr>
85<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6af63065097147b390e684a7842a26a"></a><!-- doxytag: member="bdm::FileDS::ndat" ref="a6af63065097147b390e684a7842a26a" args="()" -->
86int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#a6af63065097147b390e684a7842a26a">ndat</a> ()</td></tr>
87
88<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns number of data in the file; <br></td></tr>
89<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="998f590eeddee97ae6918671e40756b8"></a><!-- doxytag: member="bdm::FileDS::log_add" ref="998f590eeddee97ae6918671e40756b8" args="(logger &amp;L)" -->
90void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#998f590eeddee97ae6918671e40756b8">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &amp;L)</td></tr>
91
92<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">no sense to log this type <br></td></tr>
93<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="59d44ef34a523127dd79c076461c43b6"></a><!-- doxytag: member="bdm::FileDS::logit" ref="59d44ef34a523127dd79c076461c43b6" args="(logger &amp;L)" -->
94void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#59d44ef34a523127dd79c076461c43b6">logit</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &amp;L)</td></tr>
95
96<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">no sense to log this type <br></td></tr>
97<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="339a488b93f2fc37c80d9a9573fbd421"></a><!-- doxytag: member="bdm::FileDS::max_length" ref="339a488b93f2fc37c80d9a9573fbd421" args="()" -->
98int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#339a488b93f2fc37c80d9a9573fbd421">max_length</a> ()</td></tr>
99
100<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#339a488b93f2fc37c80d9a9573fbd421" title="Returns maximum number of provided data, by default it is set to maximum allowed...">MemDS.max_length()</a>. <br></td></tr>
101<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e6428f2778254e8304fb5a799b7f815a"></a><!-- doxytag: member="bdm::FileDS::set_rvs" ref="e6428f2778254e8304fb5a799b7f815a" args="(RV &amp;drv, RV &amp;urv)" -->
102void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_rvs</b> (<a class="el" href="classbdm_1_1RV.html">RV</a> &amp;drv, <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;urv)</td></tr>
103
104<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a7f17598fe2b458707ba932865beef5"></a><!-- doxytag: member="bdm::FileDS::write" ref="9a7f17598fe2b458707ba932865beef5" args="(vec &amp;ut)" -->
105void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#9a7f17598fe2b458707ba932865beef5">write</a> (vec &amp;ut)</td></tr>
106
107<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accepts action variable and schedule it for application. <br></td></tr>
108<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4349a043d00fd82c8d5f5c39673787e5"></a><!-- doxytag: member="bdm::FileDS::write" ref="4349a043d00fd82c8d5f5c39673787e5" args="(vec &amp;ut, ivec &amp;indices)" -->
109void&nbsp;</td><td class="memItemRight" valign="bottom"><b>write</b> (vec &amp;ut, ivec &amp;indices)</td></tr>
110
111<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6bced13f84f6bf04449728817e049e1d"></a><!-- doxytag: member="bdm::FileDS::write" ref="6bced13f84f6bf04449728817e049e1d" args="(vec &amp;ut, const ivec &amp;indeces)" -->
112virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#6bced13f84f6bf04449728817e049e1d">write</a> (vec &amp;ut, const ivec &amp;indeces)</td></tr>
113
114<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accepts action variables at specific indeces. <br></td></tr>
115<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="21916feb3e5ff960855c09b06a0d279b"></a><!-- doxytag: member="bdm::FileDS::step" ref="21916feb3e5ff960855c09b06a0d279b" args="()" -->
116void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#21916feb3e5ff960855c09b06a0d279b">step</a> ()</td></tr>
117
118<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Moves from <img class="formulaInl" alt="$ t $" src="form_18.png"> to <img class="formulaInl" alt="$ t+1 $" src="form_19.png">, i.e. perfroms the actions and reads response of the system. <br></td></tr>
119<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#faebfe6d7a2a43421be05d8cf7d7ae45">from_setting</a> (const Setting &amp;set)</td></tr>
120
121<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="069497b610296be053d862a2493be0ce"></a><!-- doxytag: member="bdm::FileDS::_drv" ref="069497b610296be053d862a2493be0ce" args="() const " -->
122virtual const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#069497b610296be053d862a2493be0ce">_drv</a> () const </td></tr>
123
124<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
125<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6a9a375da64c82fc227bda3418a1f33"></a><!-- doxytag: member="bdm::FileDS::_urv" ref="a6a9a375da64c82fc227bda3418a1f33" args="() const " -->
126const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a6a9a375da64c82fc227bda3418a1f33">_urv</a> () const </td></tr>
127
128<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
129<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c09878f86907329ac631a3df8755c558"></a><!-- doxytag: member="bdm::FileDS::_yrv" ref="c09878f86907329ac631a3df8755c558" args="() const " -->
130const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#c09878f86907329ac631a3df8755c558">_yrv</a> () const </td></tr>
131
132<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
133<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3a92d77fd97fdb6bf1c8edb1e38c6bbc"></a><!-- doxytag: member="bdm::FileDS::set_drv" ref="3a92d77fd97fdb6bf1c8edb1e38c6bbc" args="(const RV &amp;yrv, const RV &amp;urv)" -->
134virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#3a92d77fd97fdb6bf1c8edb1e38c6bbc">set_drv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;yrv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;urv)</td></tr>
135
136<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set random variables <br></td></tr>
137<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::FileDS::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" -->
138virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr>
139
140<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr>
141<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::FileDS::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " -->
142virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr>
143
144<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr>
145<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::FileDS::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" -->
146virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr>
147
148<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br></td></tr>
149<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
150<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a724f4cbfc32e79bacc044253234e260"></a><!-- doxytag: member="bdm::FileDS::Data" ref="a724f4cbfc32e79bacc044253234e260" args="" -->
151mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a724f4cbfc32e79bacc044253234e260">Data</a></td></tr>
152
153<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">internal matrix of data <br></td></tr>
154<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="681ee3831f68f4f20ed54e04e8b3f107"></a><!-- doxytag: member="bdm::FileDS::time" ref="681ee3831f68f4f20ed54e04e8b3f107" args="" -->
155int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#681ee3831f68f4f20ed54e04e8b3f107">time</a></td></tr>
156
157<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">active column in the Data matrix <br></td></tr>
158<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="865814d49913dcf672bb20a4334d3dc4"></a><!-- doxytag: member="bdm::FileDS::rowid" ref="865814d49913dcf672bb20a4334d3dc4" args="" -->
159ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#865814d49913dcf672bb20a4334d3dc4">rowid</a></td></tr>
160
161<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">vector of rows that are presented in Dt <br></td></tr>
162<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::FileDS::dtsize" ref="f96cae44624e79638a91ec4f2c7c81a9" args="" -->
163int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#f96cae44624e79638a91ec4f2c7c81a9">dtsize</a></td></tr>
164
165<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">size of data returned by <code><a class="el" href="classbdm_1_1DS.html#c1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code> <br></td></tr>
166<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="bdm::FileDS::utsize" ref="d7467046a0bd05bc992cc5e1bdedb983" args="" -->
167int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#d7467046a0bd05bc992cc5e1bdedb983">utsize</a></td></tr>
168
169<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">size of data <br></td></tr>
170<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="22a4b29aa6e9f3bf17bcc4b28567e8bd"></a><!-- doxytag: member="bdm::FileDS::ytsize" ref="22a4b29aa6e9f3bf17bcc4b28567e8bd" args="" -->
171int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#22a4b29aa6e9f3bf17bcc4b28567e8bd">ytsize</a></td></tr>
172
173<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">size of output <br></td></tr>
174<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="bdm::FileDS::Drv" ref="d8db125ac35f3b8eeb773fc9a4cb45ec" args="" -->
175<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#d8db125ac35f3b8eeb773fc9a4cb45ec">Drv</a></td></tr>
176
177<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of data returned by <code><a class="el" href="classbdm_1_1DS.html#c1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code>. <br></td></tr>
178<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ac5970128fd39f4f6226723cd1de702"></a><!-- doxytag: member="bdm::FileDS::Urv" ref="9ac5970128fd39f4f6226723cd1de702" args="" -->
179<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#9ac5970128fd39f4f6226723cd1de702">Urv</a></td></tr>
180
181<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of data witten by by <code><a class="el" href="classbdm_1_1DS.html#f5baeee8528e5e4c5c7a344b2e3f192a" title="Accepts action variable and schedule it for application.">write()</a></code>. <br></td></tr>
182<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb9de2a85f0d8257d79d9b68c05c4995"></a><!-- doxytag: member="bdm::FileDS::Yrv" ref="eb9de2a85f0d8257d79d9b68c05c4995" args="" -->
183<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#eb9de2a85f0d8257d79d9b68c05c4995">Yrv</a></td></tr>
184
185<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of output data. <br></td></tr>
186<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4b7bdb9d98a11ab587aa0ad803bb867"></a><!-- doxytag: member="bdm::FileDS::L_dt" ref="b4b7bdb9d98a11ab587aa0ad803bb867" args="" -->
187int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#b4b7bdb9d98a11ab587aa0ad803bb867">L_dt</a></td></tr>
188
189<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remember its own index in Logger L. <br></td></tr>
190<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b56b74ec21485846ccfad461f33b0e7a"></a><!-- doxytag: member="bdm::FileDS::L_ut" ref="b56b74ec21485846ccfad461f33b0e7a" args="" -->
191int&nbsp;</td><td class="memItemRight" valign="bottom"><b>L_ut</b></td></tr>
192
193</table>
194<hr><a name="_details"></a><h2>Detailed Description</h2>
195Pseudovirtual class for reading data from files <hr><h2>Member Function Documentation</h2>
196<a class="anchor" name="faebfe6d7a2a43421be05d8cf7d7ae45"></a><!-- doxytag: member="bdm::FileDS::from_setting" ref="faebfe6d7a2a43421be05d8cf7d7ae45" args="(const Setting &amp;set)" -->
197<div class="memitem">
198<div class="memproto">
199      <table class="memname">
200        <tr>
201          <td class="memname">void bdm::MemDS::from_setting           </td>
202          <td>(</td>
203          <td class="paramtype">const Setting &amp;&nbsp;</td>
204          <td class="paramname"> <em>set</em>          </td>
205          <td>&nbsp;)&nbsp;</td>
206          <td><code> [inline, virtual, inherited]</code></td>
207        </tr>
208      </table>
209</div>
210<div class="memdoc">
211
212<p>
213Create object from the following structure <div class="fragment"><pre class="fragment">                { <span class="keyword">class </span>= "<a class="code" href="classbdm_1_1MemDS.html#1ea231f4066652996cde4826560d93e3" title="Default constructor.">MemDS</a>";
214                   <a class="code" href="classbdm_1_1MemDS.html#a724f4cbfc32e79bacc044253234e260" title="internal matrix of data">Data</a> = (...);            <span class="comment">// Data matrix or data vector</span>
215                   --- optional ---
216                   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>
217                   time = 0;               <span class="comment">// Index of the first column to user_info,</span>
218                   <a class="code" href="classbdm_1_1MemDS.html#865814d49913dcf672bb20a4334d3dc4" title="vector of rows that are presented in Dt">rowid</a> = [1,2,3...];     <span class="comment">// ids of rows to be used</span>
219                }
220</pre></div><p>
221If the optional fields are not given, they will be filled as follows: <div class="fragment"><pre class="fragment">                <a class="code" href="classbdm_1_1MemDS.html#865814d49913dcf672bb20a4334d3dc4" title="vector of rows that are presented in Dt">rowid</a>= [0, 1, 2, ...number_of_rows_of_Data];
222                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>);
223                      sizes=( 1    1    1 ...);
224                          times=( 0    0    0 ...);
225                          };
226                time = 0;
227</pre></div> If <code>rowid</code> is given, <code>drv</code> will be named after indeces in rowids.<p>
228Hence the data provided by method <code><a class="el" href="classbdm_1_1MemDS.html#23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data=[output, input].">getdata()</a></code> will be full column of matrix Data starting from the first record.
229<p>Reimplemented from <a class="el" href="classbdm_1_1root.html#0551e3121091c5199bf4413b50522176">bdm::root</a>.</p>
230
231<p>Reimplemented in <a class="el" href="classbdm_1_1ITppFileDS.html#fd192da176625a909fa853458b604566">bdm::ITppFileDS</a>, and <a class="el" href="classbdm_1_1mxArrayDS.html#3f8986832001f54ef808edaf3988d025">bdm::mxArrayDS</a>.</p>
232
233<p>References <a class="el" href="datasources_8h_source.html#l00032">bdm::MemDS::Data</a>, <a class="el" href="bdmbase_8h_source.html#l00953">bdm::DS::dtsize</a>, <a class="el" href="user__info_8h_source.html#l00451">bdm::UI::get()</a>, <a class="el" href="datasources_8h_source.html#l00036">bdm::MemDS::rowid</a>, <a class="el" href="bdmbase_8h_source.html#l01028">bdm::DS::set_drv()</a>, <a class="el" href="datasources_8h_source.html#l00034">bdm::MemDS::time</a>, and <a class="el" href="bdmbase_8h_source.html#l00955">bdm::DS::utsize</a>.</p>
234
235</div>
236</div><p>
237<hr>The documentation for this class was generated from the following file:<ul>
238<li><a class="el" href="datasources_8h_source.html">datasources.h</a></ul>
239</div>
240<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 17:34:46 2009 for mixpp by&nbsp;
241<a href="http://www.doxygen.org/index.html">
242<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
243</body>
244</html>
Note: See TracBrowser for help on using the browser.