Module nalgebra::base::allocator

source ·
Expand description

Abstract definition of a matrix data storage allocator.

Traits

  • A matrix allocator of a memory buffer that may contain R::to_usize() * C::to_usize() elements of type T.
  • A matrix reallocator. Changes the size of the memory buffer that initially contains (RFrom × CFrom) elements to a smaller or larger size (RTo, CTo).
  • Restricts the given number of rows and columns to be respectively the same.
  • Restricts the given number of rows to be equal.

Type Aliases

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