Implementation of function sanity checks.
More...
#include <type_traits>
#include <dune/common/float_cmp.hh>
#include <dune/functions/common/signature.hh>
#include <spdlog/spdlog.h>
#include <ikarus/utils/defaultfunctions.hh>
Go to the source code of this file.
|
| template<typename F , typename UF = UpdateDefault> |
| bool | Ikarus::utils::checkGradient (F &f, const typename F::Domain &p, CheckFlags checkFlags=CheckFlags(), UF &&p_updateFunction={}) |
| | Checks the gradient of a differentiable Functions. More...
|
| |
| template<typename F , typename UF = UpdateDefault> |
| bool | Ikarus::utils::checkJacobian (F &f, const typename F::Domain &p, CheckFlags checkFlags=CheckFlags(), UF &&p_updateFunction={}) |
| | Checks the Jacobian of a differentiable Functions. More...
|
| |
| template<typename F , typename UF = UpdateDefault> |
| bool | Ikarus::utils::checkHessian (F &f, const typename F::Domain &p, CheckFlags checkFlags=CheckFlags(), UF &&p_updateFunction={}) |
| | Checks the Hessian of a differentiable Functions. More...
|
| |