Class jacobian (o2scl)¶
-
template<class func_t = mm_funct, class vec_t = boost::numeric::ublas::vector<double>, class mat_t = boost::numeric::ublas::matrix<double>>
class jacobian¶ Base for providing a numerical jacobian [abstract base].
This is provides a Jacobian which is numerically determined by differentiating a user-specified function (typically of the form of mm_funct).
By convention, the Jacobian is stored in the order
J[i][j](orJ(i,j)) where the rows have indexiwhich runs from 0 tony-1and the columns have indexjwith runs from 0 tonx-1.Default template arguments
func_t- mm_functvec_t- boost::numeric::ublas::vector<double>mat_t- boost::numeric::ublas::matrix<double>
Subclassed by o2scl::jacobian_gsl< std::function< int(size_t, const boost::numeric::ublas::vector< double > &, boost::numeric::ublas::vector< double > &)>, boost::numeric::ublas::vector< double >, boost::numeric::ublas::matrix< double > >, o2scl::jacobian_gsl< mm_funct, boost::numeric::ublas::vector< double >, boost::numeric::ublas::matrix< double > >, o2scl::jacobian_gsl< mm_funct, vector< double >, matrix< double > >, o2scl::jacobian_exact< func_t, vec_t, mat_t >, o2scl::jacobian_gsl< func_t, vec_t, mat_t >
Public Members
-
bool err_nonconv¶
If true, call the error handler if the routine does not converge.