#include <libFN.h>
Public Member Functions | |
vec | eval (const vec &cond) |
Evaluates (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 | |
virtual string | to_string () |
This method returns a basic info about the current instance. | |
virtual void | from_setting (const Setting &root) |
This method arrange instance properties according the data stored in the Setting structure. | |
virtual void | to_setting (Setting &root) const |
This method save all the instance properties into the Setting structure. | |
virtual void | validate () |
This method TODO. | |
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 . | |
void | dfdx_cond (const vec &x0, const vec &u0, mat &F, bool full) |
Evaluates and writes result into A . | |
void | dfdu_cond (const vec &x0, const vec &u0, mat &F, bool full=true) |
Evaluates 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. |
void bdm::bilinfn::dfdu_cond | ( | const vec & | x0, | |
const vec & | u0, | |||
mat & | A, | |||
bool | full = true | |||
) | [inline, virtual] |
Evaluates and writes result into A
.
full | denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. | |
x0 | numeric value of , | |
u0 | numeric value of | |
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 and writes result into A
.
full | denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. | |
x0 | numeric value of , | |
u0 | numeric value of | |
A | a place where the result will be stored. |
Reimplemented from bdm::diffbifn.