Changeset 254
- Timestamp:
- 01/28/09 10:00:56 (16 years ago)
- Files:
-
- 70 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/estim/arx.cpp
r204 r254 1 1 #include "arx.h" 2 2 3 using namespace itpp; 3 namespace bdm{ 4 4 5 5 void ARX::bayes ( const vec &dt, const double w ) { … … 182 182 return ind; 183 183 } 184 185 } -
bdm/estim/arx.h
r200 r254 18 18 #include "../stat/libEF.h" 19 19 20 using namespace itpp; 20 namespace bdm{ 21 21 22 22 /*! … … 82 82 }; 83 83 84 } 84 85 85 86 #endif // AR_H -
bdm/estim/ekf_templ.h
r231 r254 16 16 #include "libKF.h" 17 17 18 using namespace itpp; 18 namespace bdm{ 19 19 20 20 //!Extended Kalman filter with unknown \c Q and \c R … … 51 51 }; 52 52 53 } 53 54 #endif //EKF_TEMP_H -
bdm/estim/libKF.cpp
r231 r254 2 2 #include "libKF.h" 3 3 4 using namespace itpp; 4 namespace bdm{ 5 5 6 6 using std::endl; … … 254 254 255 255 256 } -
bdm/estim/libKF.h
r223 r254 19 19 #include "../math/chmat.h" 20 20 21 using namespace itpp; 21 namespace bdm{ 22 22 23 23 /*! … … 401 401 402 402 403 } 403 404 #endif // KF_H 404 405 -
bdm/estim/libPF.cpp
r211 r254 1 1 #include "libPF.h" 2 2 3 using namespace itpp; 3 namespace bdm{ 4 4 5 5 using std::endl; … … 41 41 } 42 42 43 } 43 44 //MPF::MPF:{} -
bdm/estim/libPF.h
r234 r254 18 18 #include "../math/libDC.h" 19 19 20 using namespace itpp; 20 namespace bdm{ 21 21 22 22 /*! … … 197 197 } 198 198 199 } 199 200 #endif // KF_H 200 201 -
bdm/estim/merger.cpp
r213 r254 3 3 #include "arx.h" 4 4 5 namespace bdm{ 5 6 vec merger::lognorm_merge ( mat &lW ) { 6 7 int nu=lW.rows(); … … 196 197 } 197 198 199 } -
bdm/estim/merger.h
r229 r254 17 17 #include "mixef.h" 18 18 19 using namespace itpp; 19 namespace bdm{ 20 20 using std::string; 21 21 … … 140 140 }; 141 141 142 142 } 143 143 144 144 #endif // MER_H -
bdm/estim/mixef.cpp
r198 r254 2 2 #include <vector> 3 3 4 using namespace itpp; 4 namespace bdm{ 5 5 6 6 … … 152 152 weights.set_statistics(&(Mix2->weights)); 153 153 } 154 } -
bdm/estim/mixef.h
r200 r254 19 19 #include "../stat/emix.h" 20 20 21 using namespace itpp; 21 namespace bdm{ 22 22 23 23 enum MixEF_METHOD { EM = 0, QB = 1}; … … 116 116 }; 117 117 118 118 } 119 119 #endif // MEF_H 120 120 -
bdm/math/chmat.cpp
r168 r254 1 1 #include <itpp/itbase.h> 2 2 #include "chmat.h" 3 4 using namespace itpp;5 3 6 4 //using std::endl; -
bdm/math/chmat.h
r230 r254 17 17 #include "libDC.h" 18 18 #include "../itpp_ext.h" 19 20 using namespace itpp;21 19 22 20 /*! \brief Symmetric matrix stored in square root decomposition using upper cholesky … … 86 84 //!mapping of negative add operation to operators 87 85 inline chmat& chmat::operator -= ( const chmat &A2 ) {this->add ( A2,-1.0 );return *this;} 86 88 87 #endif // CHMAT_H -
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 -
bdm/uibuilder.cpp
r248 r254 1 1 #include "uibuilder.h" 2 2 3 namespace bdm{ 4 3 5 UImap __uimap__; 4 6 … … 33 35 UIREGISTER(UIinternal); 34 36 35 37 } 36 38 //UIexternal* UIexternal_instance =new UIexternal(); -
bdm/uibuilder.h
r248 r254 1 #include "libconfig/libconfig.h++"2 #include <itpp/itbase.h>3 4 1 #ifndef UIBUILD 5 2 #define UIBUILD 6 3 4 #include "libconfig/libconfig.h++" 5 #include <itpp/itbase.h> 6 #include "stat/libBM.h" 7 8 namespace bdm{ 9 7 10 using namespace libconfig; 8 using namespace itpp;9 11 using namespace std; 10 12 … … 92 94 //! Prototype of a UI builder. Return value is by the second argument since it allows some type of type checking. 93 95 template<class T> 94 void UIbuild(Setting &S, T** ret){96 void UIbuild(Setting &S, T** ret){ 95 97 CHECK_UITYPE(S,TypeGroup); 96 98 T* tmp; … … 113 115 }; 114 116 115 116 Setting& UILoad(const char* fname); 117 117 } 118 118 #endif UIBUILD -
doprava/k1.cpp
r208 r254 19 19 #include "model.h" 20 20 21 using namespace itpp;21 using namespace bdm; 22 22 23 23 int main() { -
doprava/model.h
r208 r254 3 3 4 4 #include <stat/libFN.h> 5 6 using namespace bdm; 5 7 6 8 //Tady se naplni "popis" jednotlivych nahodnych velicin na kterych se pracuje -
mpdm/merg_2a.cpp
r217 r254 4 4 #include <stat/loggers.h> 5 5 //#include <stat/merger.h> 6 using namespace itpp;6 using namespace bdm; 7 7 8 8 //These lines are needed for use of cout and endl -
mpdm/merg_giw.cpp
r211 r254 4 4 #include <stat/loggers.h> 5 5 //#include <stat/merger.h> 6 using namespace itpp;6 using namespace bdm; 7 7 8 8 //These lines are needed for use of cout and endl -
mpdm/merg_pred.cpp
r213 r254 4 4 #include <stat/loggers.h> 5 5 //#include <stat/merger.h> 6 using namespace itpp;6 using namespace bdm; 7 7 8 8 //These lines are needed for use of cout and endl -
mpdm/merger_iter_cond.cpp
r205 r254 3 3 #include <estim/merger.h> 4 4 5 using namespace itpp;5 using namespace bdm; 6 6 7 7 //These lines are needed for use of cout and endl -
pmsm/mpf_load.cpp
r233 r254 25 25 #include <stat/loggers.h> 26 26 27 using namespace itpp;27 using namespace bdm; 28 28 29 29 class IMpmsm_load : public IMpmsm { -
pmsm/mpf_test.cpp
r230 r254 24 24 #include "sim_profiles.h" 25 25 26 using namespace itpp;26 using namespace bdm; 27 27 28 28 int main() { -
pmsm/mpf_u_delta.cpp
r241 r254 23 23 #include "sim_profiles.h" 24 24 25 using namespace itpp;25 using namespace bdm; 26 26 27 27 //!Extended Kalman filter with unknown \c Q and delta u -
pmsm/mpf_u_delta_real.cpp
r241 r254 24 24 #include "sim_profiles.h" 25 25 26 using namespace itpp;26 using namespace bdm; 27 27 28 28 class IMpmsm_delta : public IMpmsm { -
pmsm/mpf_u_weight.cpp
r228 r254 23 23 #include "sim_profiles.h" 24 24 25 using namespace itpp;25 using namespace bdm; 26 26 27 27 //!Extended Kalman filter with unknown \c Q -
pmsm/pmsm.h
r240 r254 7 7 @{ 8 8 */ 9 10 using namespace bdm; 9 11 10 12 //TODO hardcoded RVs!!! -
pmsm/pmsm_mix.cpp
r203 r254 23 23 #include <stat/loggers.h> 24 24 25 using namespace itpp;25 using namespace bdm; 26 26 27 27 int main() { -
pmsm/pmsm_sim.cpp
r218 r254 20 20 #include "sim_profiles.h" 21 21 22 using namespace itpp;22 using namespace bdm; 23 23 //!Extended Kalman filter with unknown \c Q 24 24 class EKF_unQ : public EKFCh , public BMcond { -
pmsm/pmsm_sim2.cpp
r170 r254 22 22 #include "sim_profiles.h" 23 23 24 using namespace itpp;24 using namespace bdm; 25 25 //!Extended Kalman filter with unknown \c Q 26 26 class EKF_unQ : public EKFCh , public BMcond { -
pmsm/pmsm_unkQ.cpp
r170 r254 18 18 #include "pmsm.h" 19 19 20 using namespace itpp;20 using namespace bdm; 21 21 /* 22 22 // PMSM with Q on Ia and Ib given externally -
pmsm/pmsm_unkQpf.cpp
r221 r254 18 18 #include "pmsm.h" 19 19 20 using namespace itpp;20 using namespace bdm; 21 21 22 22 //!Extended Kalman filter with unknown \c Q -
pmsm/sim.cpp
r250 r254 15 15 #include "pmsmDS.h" 16 16 17 using namespace itpp;17 using namespace bdm; 18 18 int main() { 19 19 UIFile F("sim.bdm"); -
pmsm/sim_var.cpp
r240 r254 24 24 #include <stat/loggers.h> 25 25 26 using namespace itpp;26 using namespace bdm; 27 27 28 28 int main() { -
pmsm/sim_var_arx.cpp
r224 r254 17 17 #include <stat/loggers.h> 18 18 19 using namespace itpp;19 using namespace bdm; 20 20 21 21 vec getPsi_a ( int t, mat &D, mat &Du , mat &X ); -
pmsm/simulator_zdenek/ekf_example/ekf_obj.h
r145 r254 21 21 #include "parametry_motoru.h" 22 22 23 using namespace itpp;23 using namespace bdm; 24 24 25 25 double minQ(double Q); -
pmsm/testbidiff.cpp
r73 r254 4 4 #include "pmsm.h" 5 5 6 using namespace itpp;6 using namespace bdm; 7 7 8 8 //These lines are needed for use of cout and endl -
tests/UI/UIbuilder_test.cpp
r249 r254 3 3 using namespace libconfig; 4 4 using namespace std; 5 using namespace itpp;5 using namespace bdm; 6 6 7 7 class cls { -
tests/arx_elem_test.cpp
r211 r254 1 1 #include <estim/arx.h> 2 2 #include <stat/libEF.h> 3 using namespace itpp;3 using namespace bdm; 4 4 5 5 //These lines are needed for use of cout and endl -
tests/arx_test.cpp
r211 r254 1 1 #include <estim/arx.h> 2 2 #include <stat/libEF.h> 3 using namespace itpp;3 using namespace bdm; 4 4 5 5 //These lines are needed for use of cout and endl -
tests/datalink_test.cpp
r192 r254 4 4 #include "../bdm/math/chmat.h" 5 5 6 using namespace itpp;6 using namespace bdm; 7 7 8 8 //These lines are needed for use of cout and endl -
tests/egiw_test.cpp
r211 r254 1 1 #include <stat/libEF.h> 2 using namespace itpp;2 using namespace bdm; 3 3 4 4 //These lines are needed for use of cout and endl -
tests/emix_test.cpp
r211 r254 1 1 #include <stat/libEF.h> 2 2 #include <stat/emix.h> 3 using namespace itpp;3 using namespace bdm; 4 4 5 5 //These lines are needed for use of cout and endl -
tests/enorm_test.cpp
r211 r254 1 1 #include <stat/libEF.h> 2 2 #include <stat/emix.h> 3 using namespace itpp;3 using namespace bdm; 4 4 5 5 //These lines are needed for use of cout and endl -
tests/loggers_test.cpp
r162 r254 2 2 #include <stat/loggers.h> 3 3 4 using namespace itpp;4 using namespace bdm; 5 5 6 6 //These lines are needed for use of cout and endl -
tests/merger_2d_test.cpp
r213 r254 3 3 #include <estim/merger.h> 4 4 5 using namespace itpp;5 using namespace bdm; 6 6 7 7 //These lines are needed for use of cout and endl -
tests/merger_iter_test.cpp
r211 r254 3 3 #include <estim/merger.h> 4 4 5 using namespace itpp;5 using namespace bdm; 6 6 7 7 //These lines are needed for use of cout and endl -
tests/merger_test.cpp
r211 r254 3 3 #include <estim/merger.h> 4 4 5 using namespace itpp;5 using namespace bdm; 6 6 7 7 //These lines are needed for use of cout and endl -
tests/mixef_test.cpp
r201 r254 2 2 #include <estim/arx.h> 3 3 #include <stat/libEF.h> 4 using namespace itpp;4 using namespace bdm; 5 5 6 6 //These lines are needed for use of cout and endl -
tests/rv_test.cpp
r182 r254 4 4 #include "../bdm/math/chmat.h" 5 5 6 using namespace itpp;6 using namespace bdm; 7 7 8 8 //These lines are needed for use of cout and endl -
tests/test0.cpp
r211 r254 5 5 6 6 #include <vector> 7 using namespace itpp;7 using namespace bdm; 8 8 9 9 //These lines are needed for use of cout and endl -
tests/testEpdf.cpp
r214 r254 2 2 #include <stat/libEF.h> 3 3 4 using namespace itpp;4 using namespace bdm; 5 5 6 6 //These lines are needed for use of cout and endl -
tests/testKF.cpp
r170 r254 2 2 #include <estim/libKF.h> 3 3 4 using namespace itpp;4 using namespace bdm; 5 5 6 6 //These lines are needed for use of cout and endl -
tests/testKF_QR.cpp
r170 r254 3 3 #include <estim/libPF.h> 4 4 5 using namespace itpp;5 using namespace bdm; 6 6 7 7 //These lines are needed for use of cout and endl -
tests/testKF_QRexh.cpp
r162 r254 3 3 #include <estim/libPF.h> 4 4 5 using namespace itpp;5 using namespace bdm; 6 6 7 7 //These lines are needed for use of cout and endl -
tests/testPF.cpp
r32 r254 4 4 #include <stat/libEF.h> 5 5 6 using namespace itpp;6 using namespace bdm; 7 7 8 8 //These lines are needed for use of cout and endl -
tests/testResample.cpp
r32 r254 4 4 #include <stat/libEF.h> 5 5 6 using namespace itpp;6 using namespace bdm; 7 7 8 8 //These lines are needed for use of cout and endl -
tests/testSmp.cpp
r211 r254 3 3 #include <stat/emix.h> 4 4 5 using namespace itpp;5 using namespace bdm; 6 6 7 7 //These lines are needed for use of cout and endl