Array1D<T> Constructor

Definition

Namespace: Extreme.Collections
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Array1D<T>(Int32) Constructs a new array of the specified length with offset zero.
Array1D<T>(T[], Int32) Constructs a new array.
Array1D<T>(Int32, Boolean) Constructs a new array of the specified length with offset zero.

Array1D<T>(Int32)

Constructs a new array of the specified length with offset zero.
C#
public Array1D(
	int length
)

Parameters

length  Int32
The number of elements in the new array.

Remarks

The storage array also has length elements.

Array1D<T>(T[], Int32)

Constructs a new array.
C#
public Array1D(
	T[] values,
	int offset
)

Parameters

values  T[]
The .NET array containing the elements.
offset  Int32
The offset into values of the first element.

Array1D<T>(Int32, Boolean)

Constructs a new array of the specified length with offset zero.
C#
public Array1D(
	int length,
	bool initializeToZero
)

Parameters

length  Int32
The number of elements in the new array.
initializeToZero  Boolean
Indicates whether the elements should be explicitly set to zero.

Remarks

The storage array also has length elements.

See Also