Changeset 944 for library/bdm/base
- Timestamp:
- 05/16/10 23:13:21 (14 years ago)
- Location:
- library/bdm/base
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/bdmbase.h
r943 r944 1016 1016 The DataSource has three main data interaction structures: 1017 1017 \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$, 1019 In simulators, d_t may contain "hidden" variables as well. 1021 1020 */ 1022 1021 1023 1022 class DS : public root { 1024 //! \var log_level_enums logdt 1025 //! TODO DOPLNIT1023 //! \var log_level_enums logdt 1024 //! log all outputs 1026 1025 1027 1026 //! \var log_level_enums logut 1028 //! TODO DOPLNIT1027 //! log all inputs 1029 1028 LOG_LEVEL(DS,logdt,logut); 1030 1029 -
library/bdm/base/datasources.h
r924 r944 77 77 /*! Create object from the following structure 78 78 \code 79 {class = "MemDS";80 Data = (...); //Data matrix or data vector79 DS.class = "MemDS"; 80 DS.Data = (...); % Data matrix or data vector 81 81 --- 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 84 85 } 85 86 \endcode