Matrix<T>.UnsafeStorage Property

If available, gets a 2D span over the elements of the matrix.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public virtual Span2D<T> UnsafeStorage { get; }

Property Value

Span2D<T>

Remarks

  Caution

This property should be used with caution. Modifying the values directly may leave the matrix or other objects that share memory with the matrix in an inconsistent state. Mutability constraints may also be violated.

See Also