scicpp::stats::ptp

Defined in header <scicpp/core.hpp>

Return the peak-to-peak span of an array.


template<typename T, std::size_t N>
constexpr T ptp(const std::array<T, N> &f)

template<typename T>
T ptp(const std::vector<T> &f)
See also
Scipy documentation