scicpp::nanprod

Defined in header <scicpp/core.hpp>

Product of array elements excluding NaNs.


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

template<typename T>
T nanprod(const std::vector<T> &f)

See also
Scipy documentation