Type Definition nalgebra::base::UninitMatrix

source · []
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.

Safety

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