pub trait SumFn<A> {
// Required method
fn sum(&self, array: A) -> VortexResult<Scalar>;
}
Required Methods§
Sourcefn sum(&self, array: A) -> VortexResult<Scalar>
fn sum(&self, array: A) -> VortexResult<Scalar>
§Preconditions
- The array’s DType is summable
- The array is not all-null