pub trait SimdNumIterExt {
    type Scalar;

    fn scalar_sum(self) -> Self::Scalar;
    fn scalar_product(self) -> Self::Scalar;
}
Expand description

An extension trait for Iterators over SimdNums.

Required Associated Types§

Required Methods§

Returns the sum of all the scalars in the iterator.

Returns the product of all the scalars in the iterator.

Implementors§