Tomographer
v5.4
Tomographer C++ Framework Documentation
|
Tools to check numerical derivatives. More...
Go to the source code of this file.
Namespaces | |
Tomographer | |
Base namespace for the Tomographer project. | |
Tomographer::MathTools | |
General math routines. | |
Functions | |
template<typename Der1 , typename Der2 , typename fnType , typename ErrorStream > | |
bool | Tomographer::MathTools::check_derivatives (const Eigen::ArrayBase< Der1 > &derivatives, const Eigen::MatrixBase< Der2 > &point, fnType fn, Eigen::Index valdims, const typename Eigen::MatrixBase< Der2 >::Scalar delta=1e-6, const typename Eigen::MatrixBase< Der1 >::Scalar tol=1e-6, ErrorStream &error_stream=std::cerr) |
Check given derivatives against numerically-calculated finite differences. More... | |
Tools to check numerical derivatives.
See Tomographer::MathTools::check_derivatives().
Definition in file check_derivatives.h.