mixpp: bdm::mxArrayDS Class Reference

bdm::mxArrayDS Class Reference

DataSource reading data columns from a Matlab matrix. More...

#include <mex_datasource.h>

Inheritance diagram for bdm::mxArrayDS:

bdm::DS bdm::root List of all members.

Public Member Functions

 mxArrayDS ()
 Default constructor.
void from_setting (const Setting &set)
int max_length ()
void step ()

Protected Attributes

double * data
 raw pointer to data
int max_len
 maximum length of data
int column
 active column

Detailed Description

DataSource reading data columns from a Matlab matrix.

The data are stored in a arbitrary Matlab matrix. Each column of the matrix corresponds to one discrete time observation $t$. The DataSource needs to know the name of the matrix and possibly decription of its contents (via RV)_


Member Function Documentation

void bdm::mxArrayDS::from_setting ( const Setting &  set  )  [inline, virtual]

Create object from the following structure

    class   = 'mxArrayDS';
    varname = 'data_matrix';                   % name of a Matlab workspace variable
    -- inherited fields ---
    bdm::DS::from_setting
    drv     = RV({'names',...},[sizes,...]);   % names of data redords in columns

Reimplemented from bdm::DS.


The documentation for this class was generated from the following file:
Generated on 2 Dec 2013 for mixpp by  doxygen 1.4.7