teqp 0.23.1
Loading...
Searching...
No Matches
finite_derivs.hpp File Reference
#include <valarray>
#include <map>

Go to the source code of this file.

Namespaces

namespace  teqp
 

Functions

template<int Nderiv, int Norder, typename Function, typename Scalar>
auto teqp::centered_diff (const Function &f, const Scalar x, const Scalar h)
 
template<typename Function, typename Scalarx, typename Scalary>
auto teqp::centered_diff_xy (const Function &f, const Scalarx x, const Scalary y, const Scalarx dx, const Scalary dy)
 
template<typename Function, typename Vec, typename Scalar>
auto teqp::gradient_forward (const Function &f, const Vec &x, Scalar h)