Constructs a new array.
Namespace:
Extreme.Collections
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Array2D(
T[] values,
int offset,
int leadingDimension
)
Public Sub New (
values As T(),
offset As Integer,
leadingDimension As Integer
)
public:
Array2D(
array<T>^ values,
int offset,
int leadingDimension
)
new :
values : 'T[] *
offset : int *
leadingDimension : int -> Array2D
Parameters
- values
- Type: T
The storage array. - offset
- Type: SystemInt32
The offset of the first element in the storage array. - leadingDimension
- Type: SystemInt32
The number of elements between the start of successive columns.
The values array is re-used. Modifying elements in the 2D array
will modify the elements in the original array. Conversely, if elements in the original array
that correspond to elements in the 2D array are modified, the elements of the 2D array
are modified as well.
Reference