E.V.E  0.1-beta

◆ diff_nth

template<auto N>
eve::diff_nth = diff_type<N>{}
inlineconstexpr

Higher-order Callable Object imbuing derivative semantics onto other Callable Objects.

Synopsis

if diff_nth is to be applied to eve::fname then

#include <eve/function/diff/fname.hpp>

must be included.

Members Functions

auto operator()(eve::callable auto const& f ) const noexcept;
Parameters
fAn instance of eve::callable
Returns
  • diff_nth<N> a Callable Object performing the derivative of the callable relative to its N-th parameter, N being a non-type template integer.