Tomographer
v1.0a
Tomographer C++ Framework Documentation
|
Tools to check numerical derivatives. More...
#include <cstddef>
#include <iostream>
#include <Eigen/Core>
Go to the source code of this file.
Namespaces | |
Tomographer | |
Base namespace for the Tomographer project. | |
Tomographer::Tools | |
Various useful tools. | |
Functions | |
template<typename Der1 , typename Der2 , typename fnType , typename ErrorStream > | |
bool | Tomographer::Tools::check_derivatives (const Eigen::ArrayBase< Der1 > &derivatives, const Eigen::MatrixBase< Der2 > &point, fnType fn, std::size_t valdims, typename Eigen::MatrixBase< Der2 >::Scalar delta=1e-6, 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::Tools::check_derivatives().
Definition in file check_derivatives.h.