Changeset 619

Show
Ignore:
Timestamp:
09/16/09 10:22:35 (15 years ago)
Author:
mido
Message:

zmena abstraktnich trid na konkretni - s chybovou hlaskou, vse kvuli MS VS

Location:
library/bdm
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/CMakeLists.txt

    r606 r619  
    55        math/chmat.cpp math/chmat.h  
    66        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) 
     7SET(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) 
    88SET(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) 
    99SET(bdm_ctrl design/ctrlbase.cpp design/ctrlbase.h) 
  • library/bdm/base/bdmbase.h

    r613 r619  
    988988 
    989989        //! 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        } 
    991994 
    992995        //! Register DS for logging into logger L 
  • library/bdm/math/square_mat.h

    r583 r619  
    4343         BLAS-2b operation. 
    4444         */ 
    45         virtual void opupdt ( const vec &v, double w ) = 0; 
     45        virtual void opupdt ( const vec &v, double w ) { bdm_error("not implemented"); }; 
    4646 
    4747        /*! \brief Conversion to full matrix. 
    4848        */ 
    4949 
    50         virtual mat to_mat() const = 0; 
     50        virtual mat to_mat() const { bdm_error("not implemented"); return mat(0,0); } 
    5151 
    5252        /*! \brief Inplace symmetric multiplication by a SQUARE matrix \f$C\f$, i.e. \f$V = C*V*C'\f$ 
    5353        @param C multiplying matrix, 
    5454        */ 
    55         virtual void mult_sym ( const mat &C ) = 0; 
     55        virtual void mult_sym ( const mat &C ) { bdm_error("not implemented"); }; 
    5656 
    5757        /*! \brief Inplace symmetric multiplication by a SQUARE transpose of matrix \f$C\f$, i.e. \f$V = C'*V*C\f$ 
    5858        @param C multiplying matrix, 
    5959        */ 
    60         virtual void mult_sym_t ( const mat &C ) = 0; 
     60        virtual void mult_sym_t ( const mat &C ) { bdm_error("not implemented"); } 
    6161 
    6262 
     
    6565 
    6666        */ 
    67         virtual double logdet() const = 0; 
     67        virtual double logdet() const { bdm_error("not implemented"); return 0;}; 
    6868 
    6969        /*! 
     
    7272        Used e.g. in generating normal samples. 
    7373        */ 
    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); }; 
    7575 
    7676        /*! 
     
    7878 
    7979        */ 
    80         virtual double qform ( const vec &v ) const = 0; 
     80        virtual double qform ( const vec &v ) const { bdm_error("not implemented"); return 0; }; 
    8181 
    8282        /*! 
     
    8484 
    8585        */ 
    86         virtual double invqform ( const vec &v ) const = 0; 
     86        virtual double invqform ( const vec &v ) const { bdm_error("not implemented"); return 0; }; 
    8787 
    8888//      //! easy version of the 
     
    9090 
    9191        //! Clearing matrix so that it corresponds to zeros. 
    92         virtual void clear() = 0; 
     92        virtual void clear() { bdm_error("not implemented"); }; 
    9393 
    9494        //! Reimplementing common functions of mat: cols().