Trait rin::math::base::allocator::SameShapeAllocator[][src]

pub trait SameShapeAllocator<N, R1, C1, R2, C2>: Allocator<N, R1, C1> + Allocator<N, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative> where
    N: Scalar,
    C2: Dim,
    C1: Dim,
    R1: Dim,
    R2: Dim,
    ShapeConstraint: SameNumberOfRows<R1, R2>,
    ShapeConstraint: SameNumberOfColumns<C1, C2>, 
{ }

Restricts the given number of rows and columns to be respectively the same.

Implementors

impl<N, R1, R2, C1, C2> SameShapeAllocator<N, R1, C1, R2, C2> for DefaultAllocator where
    N: Scalar,
    C2: Dim,
    C1: Dim,
    R1: Dim,
    R2: Dim,
    DefaultAllocator: Allocator<N, R1, C1>,
    DefaultAllocator: Allocator<N, <ShapeConstraint as SameNumberOfRows<R1, R2>>::Representative, <ShapeConstraint as SameNumberOfColumns<C1, C2>>::Representative>,
    ShapeConstraint: SameNumberOfRows<R1, R2>,
    ShapeConstraint: SameNumberOfColumns<C1, C2>, 
[src]

Loading content...