DenseVector<T, TStorage>.UnsafeStorageMemorySlice Property

If available, gets a memory block over the elements of the vector.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public override MemorySlice<T> UnsafeStorageMemorySlice { get; }

Property Value

MemorySlice<T>

Remarks

  Caution

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

See Also