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
impl<T: Scalar, R: Dim, C: Dim> UninitMatrix<T, R, C> where
DefaultAllocator: Allocator<T, R, C>,
impl<T: Scalar, R: Dim, C: Dim> UninitMatrix<T, R, C> where
DefaultAllocator: Allocator<T, R, C>,
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.