Changeset 619
- Timestamp:
- 09/16/09 10:22:35 (15 years ago)
- Location:
- library/bdm
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/CMakeLists.txt
r606 r619 5 5 math/chmat.cpp math/chmat.h 6 6 math/functions.cpp math/functions.h) 7 SET(bdm_stat stat/exp_family.cpp stat/exp_family.h stat/emix.cpp stat/emix.h stat/merger.h stat/merger.cpp )7 SET(bdm_stat stat/exp_family.cpp stat/exp_family.h stat/emix.cpp stat/emix.h stat/merger.h stat/merger.cpp stat/discrete.h) 8 8 SET(bdm_estim estim/kalman.cpp estim/kalman.h estim/particles.cpp estim/particles.h estim/arx.cpp estim/arx.h estim/arx_straux.cpp estim/mixtures.cpp estim/mixtures.h) 9 9 SET(bdm_ctrl design/ctrlbase.cpp design/ctrlbase.h) -
library/bdm/base/bdmbase.h
r613 r619 988 988 989 989 //! Moves from \f$ t \f$ to \f$ t+1 \f$, i.e. perfroms the actions and reads response of the system. 990 virtual void step() = 0; 990 virtual void step() 991 { 992 bdm_error ( "abstract class" ); 993 } 991 994 992 995 //! Register DS for logging into logger L -
library/bdm/math/square_mat.h
r583 r619 43 43 BLAS-2b operation. 44 44 */ 45 virtual void opupdt ( const vec &v, double w ) = 0;45 virtual void opupdt ( const vec &v, double w ) { bdm_error("not implemented"); }; 46 46 47 47 /*! \brief Conversion to full matrix. 48 48 */ 49 49 50 virtual mat to_mat() const = 0;50 virtual mat to_mat() const { bdm_error("not implemented"); return mat(0,0); } 51 51 52 52 /*! \brief Inplace symmetric multiplication by a SQUARE matrix \f$C\f$, i.e. \f$V = C*V*C'\f$ 53 53 @param C multiplying matrix, 54 54 */ 55 virtual void mult_sym ( const mat &C ) = 0;55 virtual void mult_sym ( const mat &C ) { bdm_error("not implemented"); }; 56 56 57 57 /*! \brief Inplace symmetric multiplication by a SQUARE transpose of matrix \f$C\f$, i.e. \f$V = C'*V*C\f$ 58 58 @param C multiplying matrix, 59 59 */ 60 virtual void mult_sym_t ( const mat &C ) = 0;60 virtual void mult_sym_t ( const mat &C ) { bdm_error("not implemented"); } 61 61 62 62 … … 65 65 66 66 */ 67 virtual double logdet() const = 0;67 virtual double logdet() const { bdm_error("not implemented"); return 0;}; 68 68 69 69 /*! … … 72 72 Used e.g. in generating normal samples. 73 73 */ 74 virtual vec sqrt_mult ( const vec &v ) const = 0;74 virtual vec sqrt_mult ( const vec &v ) const { bdm_error("not implemented"); return vec(0); }; 75 75 76 76 /*! … … 78 78 79 79 */ 80 virtual double qform ( const vec &v ) const = 0;80 virtual double qform ( const vec &v ) const { bdm_error("not implemented"); return 0; }; 81 81 82 82 /*! … … 84 84 85 85 */ 86 virtual double invqform ( const vec &v ) const = 0;86 virtual double invqform ( const vec &v ) const { bdm_error("not implemented"); return 0; }; 87 87 88 88 // //! easy version of the … … 90 90 91 91 //! Clearing matrix so that it corresponds to zeros. 92 virtual void clear() = 0;92 virtual void clear() { bdm_error("not implemented"); }; 93 93 94 94 //! Reimplementing common functions of mat: cols().