Changeset 19 for bdm/stat/libFN.cpp

Show
Ignore:
Timestamp:
02/16/08 15:12:24 (16 years ago)
Author:
smidl
Message:

Switch to CMake

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bdm/stat/libFN.cpp

    r14 r19  
    22#include "libFN.h" 
    33 
    4 using namespace itpp; 
    5  
    64using std::endl; 
    75 
    8 constfn::constfn(RV rv){ 
    9  
     6linfn linfn::evalsome ( ivec &rvind ) 
     7{ 
     8        return *this; 
    109} 
    1110 
    12 vec constfn::evalsome(ivec rvind){ 
    13          
    14 } 
     11bilinfn::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