Changeset 800
- Timestamp:
- 01/31/10 22:14:14 (15 years ago)
- Files:
-
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/mex/estimator.cpp
r797 r800 48 48 */ 49 49 50 #include <estim/arx .h>50 #include <estim/arx_ext.h> 51 51 #include <stat/emix.h> 52 52 #include <base/datasources.h> -
library/bdm/estim/arx.cpp
r796 r800 265 265 est.set_rv ( *rv_par ); 266 266 } 267 validate();268 } 269 } 270 267 //validate(); 268 } 269 } 270 -
library/bdm/math/functions.h
r737 r800 32 32 constfn ( const vec &val0 ) : fnc(), val ( val0 ) { 33 33 dimy = val.length(); 34 dimc = 0; 34 35 }; 35 36 }; … … 56 57 A = A0; 57 58 B = B0; 59 }; 60 void from_setting(const Setting &set){ 61 UI::get(A,set,"A",UI::compulsory); 62 UI::get(B,set,"B",UI::compulsory); 63 } 64 void validate(){ 58 65 dimy = A.rows(); 59 }; 66 dimc = A.cols(); 67 } 68 60 69 }; 70 UIREGISTER(linfn); 61 71 62 72 -
library/bdm/mex/mex_function.h
r797 r800 21 21 mexCallMATLAB ( 1, &mxout, 1, &mxinp, fname.c_str() ); 22 22 23 bdm_assert(mxGetN(mxout)== dimension(), "vector length mismatch");23 bdm_assert(mxGetN(mxout)==uint(dimension()) || mxGetM(mxout)==uint(dimension()), "vector length mismatch"); 24 24 vec tmp=mxArray2vec(mxout); 25 25 return tmp; -
library/bdm/stat/exp_family.h
r799 r800 1719 1719 void mgnorm<sq_T >::set_parameters ( const shared_ptr<fnc> &g0, const sq_T &R0 ) { 1720 1720 g = g0; 1721 this->dim = g->dimension(); 1722 this->dimc = g->dimensionc(); 1721 1723 this->iepdf.set_parameters ( zeros ( g->dimension() ), R0 ); 1722 1724 }