root/bdm/stat/libFN.cpp
@
278
Revision 278, 282 bytes (checked in by smidl, 15 years ago) | |
---|---|
|
Line | |
---|---|
1 | |
2 | #include "libFN.h" |
3 | |
4 | using std::endl; |
5 | using namespace bdm; |
6 | |
7 | |
8 | inline vec bilinfn::eval ( const vec &x0, const vec &u0 ) |
9 | { |
10 | it_assert_debug ( x0.length() ==dimx, "linfn::eval Wrong xcond." ); |
11 | it_assert_debug ( u0.length() ==dimu, "linfn::eval Wrong ucond." ); |
12 | return A*x0+B*u0; |
13 | }; |
Note: See TracBrowser
for help on using the browser.