Native Array Slice<T> Constructor
Definition
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Native | Constructs a new array stride with zero offset and unit stride. |
Native | Constructs a new array slice with unit stride. |
Native | Constructs a new array. |
NativeArraySlice<T>(IntPtr)
NativeArraySlice<T>(IntPtr, Int32)
public NativeArraySlice(
IntPtr values,
int offset
)
Parameters
Remarks
The values array is re-used. Modifying elements in the array slice will modify the elements in the original array. Conversely, if elements in the original array that correspond to elements in the array slice are modified, the elements of the array slice are modified as well.
NativeArraySlice<T>(IntPtr, Int32, Int32)
public NativeArraySlice(
IntPtr values,
int offset,
int stride
)
Parameters
Remarks
The values array is re-used. Modifying elements in the array slice will modify the elements in the original array. Conversely, if elements in the original array that correspond to elements in the array slice are modified, the elements of the array slice are modified as well.