bdm::bilinfn Class Reference

Class representing function $f(x,u) = Ax+Bu$. More...

#include <libFN.h>

List of all members.

Public Member Functions

vec eval (const vec &cond)
 Evaluates $f(x0,u0)$ (VS: Do we really need common eval? ).
int _dimx () const
 access function
int _dimu () const
 access function
virtual void condition (const vec &val)
 function substitutes given value into an appropriate position
int dimension () const
 access function
Constructors
 bilinfn ()
 bilinfn (const mat A0, const mat B0)
void set_parameters (const mat A0, const mat B0)
 Alternative constructor.
Mathematical operations
vec eval (const vec &x0, const vec &u0)
 Evaluates $f(x0,u0)$.
void dfdx_cond (const vec &x0, const vec &u0, mat &F, bool full)
 Evaluates $A=\frac{d}{dx}f(x,u)|_{x0,u0}$ and writes result into A .
void dfdu_cond (const vec &x0, const vec &u0, mat &F, bool full=true)
 Evaluates $A=\frac{d}{du}f(x,u)|_{x0,u0}$ and writes result into A .

Protected Attributes

RV rvx
 Indentifier of the first rv.
RV rvu
 Indentifier of the second rv.
int dimx
 cache for rvx.count()
int dimu
 cache for rvu.count()
int dimy
 Length of the output vector.


Detailed Description

Class representing function $f(x,u) = Ax+Bu$.

Member Function Documentation

void bdm::bilinfn::dfdu_cond ( const vec &  x0,
const vec &  u0,
mat &  A,
bool  full = true 
) [inline, virtual]

Evaluates $A=\frac{d}{du}f(x,u)|_{x0,u0}$ and writes result into A .

Parameters:
full denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed.
x0 numeric value of $x$,
u0 numeric value of $u$
A a place where the result will be stored.

Reimplemented from bdm::diffbifn.

void bdm::bilinfn::dfdx_cond ( const vec &  x0,
const vec &  u0,
mat &  A,
bool  full 
) [inline, virtual]

Evaluates $A=\frac{d}{dx}f(x,u)|_{x0,u0}$ and writes result into A .

Parameters:
full denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed.
x0 numeric value of $x$,
u0 numeric value of $u$
A a place where the result will be stored.

Reimplemented from bdm::diffbifn.


The documentation for this class was generated from the following file:

Generated on Tue Mar 17 13:52:06 2009 for mixpp by  doxygen 1.5.8