Revision 19, 447 bytes
(checked in by smidl, 16 years ago)
|
Switch to CMake
|
Line | |
---|
1 | #include <itpp/itbase.h> |
---|
2 | #include "libFN.h" |
---|
3 | |
---|
4 | using std::endl; |
---|
5 | |
---|
6 | linfn linfn::evalsome ( ivec &rvind ) |
---|
7 | { |
---|
8 | return *this; |
---|
9 | } |
---|
10 | |
---|
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 | }; |
---|