Class jacobian_exact (o2scl)¶
-
template<class
func_t
= mm_funct, classvec_t
= boost::numeric::ublas::vector<double>, classmat_t
= boost::numeric::ublas::matrix<double>>
classo2scl
::
jacobian_exact
: public o2scl::jacobian<mm_funct, boost::numeric::ublas::vector<double>, boost::numeric::ublas::matrix<double>>¶ A direct calculation of the jacobian using a deriv_base object.
By default, the stepsize, deriv_gsl::h is set to \( 10^{-4} \) 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>
Protected Attributes
-
deriv_base *
dptr
¶ Pointer to the derivative object.
-
struct
ej_parms
¶ Parameter structure for passing information.
This class is primarily useful for specifying derivatives for using the jacobian::set_deriv() function.