ILNumerics Ultimate VS

SizeGetStride 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.5.7503.3146)

public long GetStride(
	uint dim


Type: SystemUInt32
0 based index of the dimension.

Return Value

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

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