Changeset 270 for bdm/stat/libFN.cpp
- Timestamp:
- 02/16/09 10:02:08 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/stat/libFN.cpp
r262 r270 5 5 using namespace bdm; 6 6 7 bilinfn::bilinfn ( const RV &rvx0, const RV &rvu0, const mat &A0, const mat &B0 ) : diffbifn (A0.rows(), rvx0,rvu0 )8 {9 //check input10 it_assert_debug ( ( A0.cols() ==dimx ) & ( A0.rows() ==B0.rows() ), "linfn:: wrong A" );11 it_assert_debug ( ( B0.cols() ==dimu ), "linfn:: wrong B" );12 13 // set dimensions14 dimy = A0.rows();15 16 //set internals17 A = A0;18 B = B0;19 };20 7 21 8 inline vec bilinfn::eval ( const vec &x0, const vec &u0 )