#include <jacobian.h>
This is nearly equivalent to the GSL method for computing Jacobians as in multiroots/fdjac.c
. To obtain the GSL behavior, set epsrel to GSL_SQRT_DBL_EPSILON
and set epsmin to zero. The gsl_mroot_hybrids class sets epsrel to GSL_SQRT_DBL_EPSILON
in its constructor, but does not set epsmin to zero.
This class does not separately check the vector and matrix sizes to ensure they are commensurate.
Definition at line 470 of file jacobian.h.
Public Member Functions | |
virtual int | operator() (size_t nv, vec_t &x, vec_t &y, mat_t &jac, param_t &pa) |
The operator(). | |
Data Fields | |
double | epsrel |
The relative stepsize for finite-differencing (default ![]() | |
double | epsmin |
The minimum stepsize (default ![]() | |
alloc_t | ao |
For memory allocation. | |
bool | err_nonconv |
If true, call the error handler if the routine does not "converge". |
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page