ILNumerics Ultimate VS

Globalsslice Method (ILExpression, ILExpression, 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,
	ILExpression 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: ILNumerics.Core.MiscILExpression
(Exclusive) selection stopping index: simple computational expression (+,-,/,*) involving the end specifier which evaluates to the last index in this dimension.
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 step is larger than MaxValue.
Remarks

[ILNumerics Core Module]

See Also

Reference