- Timestamp:
- 01/28/09 10:00:56 (15 years ago)
- Location:
- bdm/stat
- Files:
-
- 12 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/stat/emix.cpp
r235 r254 1 1 #include "emix.h" 2 2 3 using namespace itpp; 3 namespace bdm{ 4 4 5 5 void emix::set_parameters ( const vec &w0, const Array<epdf*> &Coms0, bool copy ) { … … 47 47 }; 48 48 49 } 49 50 // mprod::mprod ( Array<mpdf*> mFacs, bool overlap) : mpdf ( RV(), RV() ), n ( mFacs.length() ), epdfs ( n ), mpdfs ( mFacs ), rvinds ( n ), rvcinrv ( n ), irvcs_rvc ( n ) { 50 51 // int i; -
bdm/stat/emix.h
r229 r254 18 18 //#include <std> 19 19 20 using namespace itpp; 20 namespace bdm{ 21 21 22 22 //this comes first because it is used inside emix! … … 309 309 }; 310 310 311 } 311 312 #endif //MX_H -
bdm/stat/libBM.cpp
r211 r254 3 3 #include "../itpp_ext.h" 4 4 5 using namespace itpp; 5 namespace bdm { 6 6 7 7 using std::cout; … … 239 239 for(int t=0;t<Data.cols();t++){bayes(Data.get_col(t));} 240 240 } 241 } -
bdm/stat/libBM.h
r250 r254 22 22 //#include <std> 23 23 24 namespace bdm{ 24 25 using namespace itpp; 26 27 //! Root class of BDM objects 28 class base{}; 25 29 26 30 //! Structure of RV (used internally), i.e. expanded RVs … … 43 47 */ 44 48 45 class RV {49 class RV :base{ 46 50 protected: 47 51 //! size = sum of sizes … … 135 139 //! Class representing function \f$f(x)\f$ of variable \f$x\f$ represented by \c rv 136 140 137 class fnc {141 class fnc :base{ 138 142 protected: 139 143 //! Length of the output vector … … 161 165 //! Probability density function with numerical statistics, e.g. posterior density. 162 166 163 class epdf {167 class epdf :base { 164 168 protected: 165 169 //! Identified of the random variable … … 469 473 */ 470 474 471 class BMcond {475 class BMcond :base{ 472 476 protected: 473 477 //! Identificator of the conditioning variable … … 484 488 }; 485 489 490 }; //namespace 486 491 /*! @} */ 487 492 #endif // BM_H -
bdm/stat/libDS.cpp
r19 r254 2 2 #include "libDS.h" 3 3 4 //using namespace itpp;4 using namespace bdm; 5 5 6 6 void MemDS::getdata(vec &dt){ -
bdm/stat/libDS.h
r85 r254 17 17 #include "libBM.h" 18 18 19 using namespace itpp; 20 19 namespace bdm{ 21 20 /*! 22 21 * \brief Class representing off-line data stored in memory … … 43 42 }; 44 43 45 44 }; //namespace 46 45 47 46 #endif // DS_H -
bdm/stat/libEF.cpp
r225 r254 4 4 #include <math.h> 5 5 6 using namespace itpp; 6 namespace bdm{ 7 7 8 8 Uniform_RNG UniRNG; … … 267 267 } 268 268 269 }; -
bdm/stat/libEF.h
r235 r254 20 20 //#include <std> 21 21 22 using namespace itpp; 22 namespace bdm{ 23 23 24 24 … … 830 830 }; 831 831 832 } 832 833 #endif //EF_H -
bdm/stat/libFN.cpp
r62 r254 3 3 4 4 using std::endl; 5 using namespace bdm; 5 6 6 7 bilinfn::bilinfn ( const RV &rvx0, const RV &rvu0, const mat &A0, const mat &B0 ) : diffbifn (A0.rows(), rvx0,rvu0 ) -
bdm/stat/libFN.h
r85 r254 16 16 #include "libBM.h" 17 17 18 using namespace itpp; 18 namespace bdm{ 19 19 20 20 //! class representing function \f$f(x) = a\f$, here \c rv is empty … … 121 121 }; 122 122 123 } //namespace 123 124 #endif // FN_H -
bdm/stat/loggers.cpp
r230 r254 8 8 #endif 9 9 10 namespace bdm{ 10 11 void memlog::itsave ( const char* fname ) { 11 12 it_file itf ( fname ); … … 135 136 write_buffers ( ind ); //assuming here that i+1 was not filled 136 137 } 138 139 } -
bdm/stat/loggers.h
r250 r254 18 18 #include "../itpp_ext.h" 19 19 20 using namespace itpp; 20 namespace bdm{ 21 21 using std::string; 22 22 … … 126 126 }; 127 127 128 128 } 129 129 #endif // LGR_H