ILNumerics Ultimate VS

Globalsslice Method (ILExpression, BaseArray, UInt64)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Slice for indexing / subarray operations. numpy 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 slice(
	ILExpression start,
	BaseArray end,
	ulong step
)

Parameters

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

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