Changeset 944 for library/bdm/base

Show
Ignore:
Timestamp:
05/16/10 23:13:21 (14 years ago)
Author:
smidl
Message:

Doc + new examples

Location:
library/bdm/base
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.h

    r943 r944  
    10161016The DataSource has three main data interaction structures: 
    10171017\li input, \f$ u_t \f$, 
    1018 \li output \f$ y_t \f$, 
    1019 \li data, \f$ d_t=[y_t,u_t, \ldots ]\f$ a collection of all inputs and outputs and possibly some internal variables too. 
    1020  
     1018\li output \f$ d_t \f$, 
     1019In simulators, d_t may contain "hidden" variables as well. 
    10211020*/ 
    10221021 
    10231022class DS : public root { 
    1024         //! \var log_level_enums logdt 
    1025         //! TODO DOPLNIT 
     1023        //! \var log_level_enums logdt  
     1024        //! log all outputs 
    10261025 
    10271026        //! \var log_level_enums logut  
    1028         //! TODO DOPLNIT 
     1027        //! log all inputs 
    10291028        LOG_LEVEL(DS,logdt,logut); 
    10301029 
  • library/bdm/base/datasources.h

    r924 r944  
    7777        /*! Create object from the following structure 
    7878        \code 
    79         { class = "MemDS"; 
    80            Data = (...);            // Data matrix or data vector 
     79        DS.class = "MemDS"; 
     80        DS.Data = (...);               % Data matrix or data vector 
    8181           --- optional --- 
    82            drv = {class="RV"; ...} // Identification how rows of the matrix Data will be known to others 
    83            time = 0;               // Index of the first column to user_info, 
     82        DS.drv = {class="RV"; ...}     % Identification how rows of the matrix Data will be known to others 
     83        DS.time = 0;                   % Index of the first column to user_info, 
     84        DS.log_level = "logdt,logut";  % switches to log (or not log) dt or ut 
    8485        } 
    8586        \endcode