$darkmode
Functions | |
template<std::floating_point T, std::input_iterator I, typename F = std::identity> | |
requires concepts::arithmetic_projection< F, std::iter_value_t< I > > auto | accumulate (I first, std::sized_sentinel_for< I > auto last, F &&f=F{}) noexcept -> univariate_statistics |
template<std::floating_point T, std::input_iterator I, std::input_iterator J, typename F = std::identity> | |
requires concepts::arithmetic_projection< F, std::iter_value_t< I > > and std::is_arithmetic_v< std::iter_value_t< J > > auto | accumulate (I first1, std::sized_sentinel_for< I > auto last1, J first2, F &&f=F{}) noexcept -> univariate_statistics |
template<std::floating_point T, std::input_iterator I, std::input_iterator J, typename BinaryOp , typename F1 = std::identity, typename F2 = std::identity> | |
requires std::is_invocable_v< F1, std::iter_value_t< I > > and std::is_invocable_v< F2, std::iter_value_t< J > > and std::is_invocable_v< BinaryOp, std::invoke_result_t< F1, std::iter_value_t< I > >, std::invoke_result_t< F2, std::iter_value_t< J > > > and concepts::arithmetic_projection< BinaryOp, std::invoke_result_t< F1, std::iter_value_t< I > >, std::invoke_result_t< F2, std::iter_value_t< J > > > auto | accumulate (I first1, std::sized_sentinel_for< I > auto last1, J first2, BinaryOp &&op=BinaryOp{}, F1 &&f1=F1{}, F2 &&f2=F2{}) noexcept -> univariate_statistics |
template<std::floating_point T, std::input_iterator I, std::input_iterator J, std::input_iterator K, typename BinaryOp , typename F1 = std::identity, typename F2 = std::identity> | |
requires std::is_arithmetic_v< std::iter_value_t< K > > &&std::is_invocable_v< F1, std::iter_value_t< I > > &&std::is_invocable_v< F2, std::iter_value_t< J > > &&std::is_invocable_v< BinaryOp, std::invoke_result_t< F1, std::iter_value_t< I > >, std::invoke_result_t< F2, std::iter_value_t< J > > > &&concepts::arithmetic_projection< BinaryOp, std::invoke_result_t< F1, std::iter_value_t< I > >, std::invoke_result_t< F2, std::iter_value_t< J > > > auto | accumulate (I first1, std::sized_sentinel_for< I > auto last1, J first2, K first3, BinaryOp &&op=BinaryOp{}, F1 &&f1=F1{}, F2 &&f2=F2{}) noexcept -> univariate_statistics |
Methods for univariate statistics.
|
inlinenoexcept |
Accumulates a sequence of (projected) values.
T | The scalar value type underlying the eve::wide<T> SIMD type used to compute the stats. |
first | The begin iterator for the first sequence |
last | The end iterator for the first sequence |
f | A projection mapping std::iter_value_t<I> to a scalar value |
|
inlinenoexcept |
Accumulates over the projected values from applying BinaryOp
on the input sequences.
T | The scalar value type underlying the eve::wide<T> SIMD type used to compute the stats |
BinaryOp | Binary projection \(op(a,b) \to c\) |
F1 | Unary projection \(f(x_1) \to a\) |
F2 | Unary projection \(f(x_2) \to b\) |
first1 | The begin iterator for the first sequence |
last1 | The end iterator for the first sequence |
first2 | The begin iterator for the second sequence |
op | A binary projection mapping a tuple \((f_1(\cdot), f_2(\cdot))\) to a scalar value |
f1 | A projection mapping std::iter_value_t<I> to a scalar value |
f2 | A projection mapping std::iter_value_t<J> to a scalar value |
|
inlinenoexcept |
Accumulates a sequence of (projected) values.
T | The scalar value type underlying the eve::wide<T> SIMD type used to compute the stats. |
first1 | The begin iterator for the first sequence |
last1 | The end iterator for the first sequence |
first2 | The begin iterator for the second (weights) sequence |
f | A projection mapping std::iter_value_t<I> to a scalar value |
|
inlinenoexcept |
Accumulates over the projected values from applying BinaryOp
on the input sequences, with weights.
T | The scalar value type underlying the eve::wide<T> SIMD type used to compute the stats |
BinaryOp | Binary projection \(op(a,b) \to c\) |
F1 | Unary projection \(f(x_1) \to a\) |
F2 | Unary projection \(f(x_2) \to b\) |
first1 | The begin iterator for the first sequence |
last1 | The end iterator for the first sequence |
first2 | The begin iterator for the second sequence |
first3 | The begin iterator for the third sequence (weights) |
op | A binary projection mapping a tuple \((f_1(\bullet), f_2(\bullet))\) to a scalar value |
f1 | A projection mapping std::iter_value_t<I> to a scalar value |
f2 | A projection mapping std::iter_value_t<J> to a scalar value |