OGS
|
Forward differences derivative of a function with respect to a single scalar variable.
See also NumLib::ForwardDifferencesStrategy.
Definition at line 92 of file NumericalDifferentiation.h.
#include <NumericalDifferentiation.h>
Public Member Functions | |
ComputeDerivativeWrtOneScalar_FD (Value &&unperturbed_value) | |
template<typename Function , typename TupleOfArgs , typename PerturbationStrategy , std::size_t PerturbedArgIdx, std::size_t... AllArgIdcs> | |
Value | operator() (Function const &f, TupleOfArgs const &args, PerturbationStrategy const &pert_strat, std::integral_constant< std::size_t, PerturbedArgIdx >, Eigen::Index const perturbed_arg_component, std::index_sequence< AllArgIdcs... >) const |
Private Attributes | |
Value | unperturbed_value_ |
|
inlineexplicit |
Definition at line 94 of file NumericalDifferentiation.h.
|
inline |
Definition at line 102 of file NumericalDifferentiation.h.
References NumLib::detail::getScalarOrVectorComponent(), and NumLib::detail::ComputeDerivativeWrtOneScalar_FD< Value >::unperturbed_value_.
|
private |
Definition at line 120 of file NumericalDifferentiation.h.
Referenced by NumLib::detail::ComputeDerivativeWrtOneScalar_FD< Value >::operator()().