Expand description
Abstract definition of a matrix data storage allocator.
Traits§
- Allocator
- A matrix allocator of a memory buffer that may contain
R::to_usize() * C::to_usize()
elements of typeT
. - Reallocator
- A matrix reallocator. Changes the size of the memory buffer that initially contains (
RFrom
×CFrom
) elements to a smaller or larger size (RTo
,CTo
). - Same
Shape Allocator - Restricts the given number of rows and columns to be respectively the same.
- Same
Shape Vector Allocator - Restricts the given number of rows to be equal.
Type Aliases§
- Same
ShapeC - The number of columns of the result of a componentwise operation on two matrices.
- Same
ShapeR - The number of rows of the result of a componentwise operation on two matrices.