ILNumerics Ultimate VS

Globalsr Method (BaseArray, UInt64, ILExpression)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Range for indexing / subarray operations. ILNumericsV4 / Matlab / Octave / Julia style.

[ILNumerics Core Module]

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

public static ExpressionDimSpec r(
	BaseArray start,
	ulong step,
	ILExpression end
)

Parameters

start
Type: ILNumericsBaseArray
Inclusive start index: scalar, numeric array with the starting index of this range.
step
Type: SystemUInt64
Positive step size between adjacent elements. Unit: elements.
end
Type: ILNumerics.Core.MiscILExpression
Inclusive end index: simple computational expression (+,-,/,*) involving the end specifier which evaluates to the last index in this dimension.

Return Value

Type: ExpressionDimSpec
Stepped range to be used in indexing expressions.
Exceptions

ExceptionCondition
ArgumentException if start or end are not scalar or not numeric or if the conversion to a long value failed.
ArgumentException if step is larger than MaxValue.
Remarks

[ILNumerics Core Module]

See Also

Reference