Trait enso_flexer::prelude::iter::Product 1.12.0[−][src]
Expand description
Trait to represent types that can be created by multiplying elements of an iterator.
This trait is used to implement the product()
method on iterators. Types
which implement the trait can be generated by the product()
method. Like
FromIterator
this trait should rarely be called directly and instead
interacted with through Iterator::product()
.
Required methods
fn product<I>(iter: I) -> Self where
I: Iterator<Item = A>,
[src]
I: Iterator<Item = A>,
Expand description
Method which takes an iterator and generates Self
from the elements by
multiplying the items.
Implementations on Foreign Types
impl<N, D> Product<Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>> for Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer> where
N: Scalar + Zero + One + ClosedMul<N> + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
[src]
impl<N, D> Product<Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>> for Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer> where
N: Scalar + Zero + One + ClosedMul<N> + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
[src]impl<'a, N, D> Product<&'a Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>> for Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer> where
N: Scalar + Zero + One + ClosedMul<N> + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
[src]
impl<'a, N, D> Product<&'a Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>> for Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer> where
N: Scalar + Zero + One + ClosedMul<N> + ClosedAdd<N>,
D: DimName,
DefaultAllocator: Allocator<N, D, D>,
[src]