23 #ifndef EDSP_DERIVATIVE_HPP 24 #define EDSP_DERIVATIVE_HPP 29 namespace edsp {
inline namespace algorithm {
45 template <
typename InputItr,
typename OutputIt,
typename Numeric>
46 constexpr
void derivative(InputItr first, InputItr last, OutputIt d_first) {
47 std::adjacent_difference(first, last, d_first);
52 #endif //EDSP_DERIVATIVE_HPP constexpr void derivative(InputItr first, InputItr last, OutputIt d_first)
Computes the first order derivative of the elements in the range [first, last), and stores the result...
Definition: derivative.hpp:46
Definition: amplifier.hpp:29