A direct calculation of the jacobian using a deriv_base object. More...
#include <jacobian.h>
By default, the stepsize, deriv_gsl::h is set to in the jacobian_exact constructor.
Note that it is most often wasteful to use this Jacobian in a root-finding routine and using more approximate Jacobians is more efficient.
Default template arguments
func_t
- mm_functvec_t
- boost::numeric::ublas::vector<double>mat_t
- boost::numeric::ublas::matrix<double> Definition at line 340 of file jacobian.h.
Classes | |
struct | ej_parms |
Parameter structure for passing information. More... | |
Public Member Functions | |
int | set_deriv (deriv_base<> &de) |
Set the derivative object. | |
virtual int | operator() (size_t nx, vec_t &x, size_t ny, vec_t &y, mat_t &jac) |
The operator() | |
virtual int | jac_err (size_t nx, vec_t &x, size_t ny, vec_t &y, mat_t &jac, mat_t &err) |
Compute the Jacobian and its uncertainty from the numerical differentiation. | |
![]() | |
virtual int | set_function (func_t &f) |
Set the function to compute the Jacobian of. | |
Public Attributes | |
deriv_gsl | def_deriv |
The default derivative object. | |
![]() | |
bool | err_nonconv |
If true, call the error handler if the routine does not converge. | |
Protected Member Functions | |
double | dfn (double x, ej_parms &ejp) |
Function for the derivative object. | |
Protected Attributes | |
deriv_base * | dptr |
Pointer to the derivative object. | |
![]() | |
func_t | func |
A pointer to the user-specified function. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).