Module nalgebra::core::allocator [] [src]

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 type N.

OwnedAllocator

A matrix data allocator dedicated to the given owned matrix storage.

SameShapeAllocator

Restricts the given number of rows and columns to be respectively the same. Can only be used when Self = SA::Alloc.

SameShapeColumnVectorAllocator

Restricts the given number of rows to be equal. Can only be used when Self = SA::Alloc.

Type Definitions

SameShapeC

The number of columns of the result of a componentwise operation on two matrices.

SameShapeR

The number of rows of the result of a componentwise operation on two matrices.