bilinfn Class Reference

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

#include <libFN.h>

Inheritance diagram for bilinfn:

Inheritance graph
[legend]
Collaboration diagram for bilinfn:

Collaboration graph
[legend]

List of all members.

Public Member Functions

vec eval (const vec &x0, const vec &u0)
 Evaluates $f(x0,u0)$.
 bilinfn (const RV &rvx0, const RV &rvu0)
 Default constructor.
 bilinfn (const RV &rvx0, const RV &rvu0, const mat &A0, const mat &B0)
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 .
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
int _dimy () const
 access function

Protected Attributes

RV rvx
RV rvu
int dimx
int dimu
int dimy


Detailed Description

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

Member Function Documentation

void 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.

Reimplemented from diffbifn.

void 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.

Reimplemented from diffbifn.


The documentation for this class was generated from the following files:
Generated on Mon Feb 18 21:48:40 2008 for mixpp by  doxygen 1.5.3