scicpp::stats::average
Defined in header <scicpp/core.hpp>
Compute the weighted average.
-
template<typename
T
, std::size_t N
>
T average
(const std::array<T, N> &f, const std::array<T, N> &weights)
-
template<typename
T
>
T average
(const std::vector<T> &f, const std::vector<T> &weights)
- See also
- Scipy documentation