Type Definition nalgebra::base::UninitMatrix[][src]

pub type UninitMatrix<T, R, C> = Matrix<MaybeUninit<T>, R, C, OwnedUninit<T, R, C>>;
Expand description

An owned matrix with uninitialized data.

Implementations

Builds a matrix with uninitialized elements of type MaybeUninit<T>.

Assumes a matrix’s entries to be initialized. This operation should be near zero-cost.

For the similar method that operates on matrix slices, see [slice_assume_init].

Safety

The user must make sure that every single entry of the buffer has been initialized, or Undefined Behavior will immediately occur.