ILNumerics Ultimate VS

ImmutableT1, LocalT, InT, OutT, RetT, StorageTstrides Property

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
[numpy API] The strides of elements within the dimensions. Unit: element size.

[ILNumerics Core Module]

Namespace:  ILNumerics.Core.Arrays
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public RetArray<long> strides { get; }

Property Value

Type: RetArrayInt64
Remarks

Elements within a dimension of ILNumerics arrays are separated in memory by a certain, fixed address offset. This offset is the same for all elements within the same dimension. The array returned gives this offset for each dimension of this array.

Note that the unit of the distance is the element size, i.e. the number of bytes consumed by a single element. In difference to that, the numpy attribute https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.strides.html#numpy.ndarray.strides gives this distance in bytes.

This attribute is readonly.

[ILNumerics Core Module]

See Also

Reference