ILNumerics Ultimate VSSizeGetStride Method ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Get the spacing between elements in the dimension dim.

[ILNumerics Core Module]

Namespace: ILNumerics
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.3.0.0 (5.3.7131.2749)
Syntax

public long GetStride(
	uint dim
)

Parameters

dim
Type: SystemUInt32
0 based index of the dimension.

Return Value

Type: Int64
The stride for the dimension addressed by dim.
Remarks

Strides in ILNumerics arrays are always positive.

For dim larger or equal to NumberOfDimensions the function returns NumberOfElements which is the correct value for column-major storage. For non-column major storages the strides of dimensions outside the range of the number of dimensions of this size descriptor are not defined.

[ILNumerics Core Module]

See Also

Reference