Changeset 19 for bdm/stat/libFN.cpp
- Timestamp:
- 02/16/08 15:12:24 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/stat/libFN.cpp
r14 r19 2 2 #include "libFN.h" 3 3 4 using namespace itpp;5 6 4 using std::endl; 7 5 8 constfn::constfn(RV rv){ 9 6 linfn linfn::evalsome ( ivec &rvind ) 7 { 8 return *this; 10 9 } 11 10 12 vec constfn::evalsome(ivec rvind){ 13 14 } 11 bilinfn::bilinfn ( const RV &x0, const RV &u0, const mat &A0, const mat &B0 ) 12 { 13 it_assert_debug ( A0.cols() ==A0.rows() ==x0.count(), "linfn:: wrong A" ); 14 it_assert_debug ( ( B0.rows() ==x0.count() ) & ( B0.cols() ==u0.count() ), "linfn:: wrong B" ); 15 16 A = A0; 17 B = B0; 18 rv=x0; rv.add ( u0 ); 19 indexlist=rv.indexlist(); 20 }; 21