pub trait SameShapeVectorAllocator<T, R1, R2>: Allocator<T, R1> + Allocator<T, SameShapeR<R1, R2>> + SameShapeAllocator<T, R1, U1, R2, U1>where
    R1: Dim,
    R2: Dim,
    T: Scalar,
    ShapeConstraint: SameNumberOfRows<R1, R2>,{ }
Expand description

Restricts the given number of rows to be equal.

Implementors§

source§

impl<T, R1, R2> SameShapeVectorAllocator<T, R1, R2> for DefaultAllocatorwhere R1: Dim, R2: Dim, T: Scalar, DefaultAllocator: Allocator<T, R1, U1> + Allocator<T, SameShapeR<R1, R2>>, ShapeConstraint: SameNumberOfRows<R1, R2>,