#include <jacobian.h>
Public Types | |
typedef NT::number | numT |
typedef NT::vect | vect |
typedef NT::matrix | matrix |
typedef NT::vf | vf |
Public Methods | |
Jacobian (vf &rvf, numT JEps=1E-4, bool own=false) | |
~Jacobian () | |
Jacobian (const Jacobian &cj) | |
numT | calculate_didj (integer i, integer j, const vect &u) |
vect | calculate_di (integer i, const vect &u) |
matrix | calculate (const vect &u, const vect &fu) |
matrix | calculate_accurate (const vect &u, const vect &fu) |
matrix | calculate (const vect &u) |
matrix | calculate_accurate (const vect &u) |
vf& | get_function (void) |
Private Methods | |
PRIVATE_ASSIGN (Jacobian) | |
Private Attributes | |
bool | owned |
vf* | f |
number | epsilon |
Definition at line 33 of file jacobian.h.
|
Constructor taking a copy of the function
Definition at line 42 of file jacobian.h. |
|
copying is allowed Definition at line 48 of file jacobian.h. |
|
Assignment operator is private and NOT implemented |
|
Calculate full Jacobian using 2 evaluations. j[i][j]=df[i]dx[j] Definition at line 67 of file jacobian.h. |
|
Calculate full Jacobian using only 1 evaluation and a user supplied function value at u. Adapted from NRC Definition at line 103 of file jacobian.h. Referenced by calculate().
|
|
Calculate full Jacobian using 3 evaluations. j[i][j]=df[i]dx[j] Definition at line 72 of file jacobian.h. |
|
Calculate the jacobian, using a more accurate scheme. This eats two evaluations, but is second order accurate, using central differences Definition at line 131 of file jacobian.h. Referenced by calculate_accurate().
|
|
Calculate one row of the Jacobian. Not implemented. |
|
Calculate one element of the Jacobian J(i,j) = df(i)/dj. Not implemented. |
|
What function are we working on? Definition at line 76 of file jacobian.h. |
|
epsilon is the relative step size used in the finite difference jacobian. Definition at line 89 of file jacobian.h. |
More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be
Last update: June 2002.