[−][src]Trait agnes::stats::SumSq
A trait for calculating the sum of squares of values in this field.
Associated Types
type Output
The data type of the sum result.
Required methods
fn sum_sq(&self) -> Self::Output
Calculate the sum of squares of values in this field. Treats missing values as 0
.
Implementors
impl<DI> SumSq for DI where
DI: DataIndex,
DI::DType: for<'a> Add<&'a DI::DType, Output = DI::DType> + Zero,
&'a DI::DType: Mul<&'b DI::DType, Output = DI::DType>,
[src]
DI: DataIndex,
DI::DType: for<'a> Add<&'a DI::DType, Output = DI::DType> + Zero,
&'a DI::DType: Mul<&'b DI::DType, Output = DI::DType>,