ILNumerics Ultimate VSGlobalsslice Method (BaseArray, 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.3.0.0 (5.3.7131.2749)
Syntax

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

Parameters

start
Type: ILNumericsBaseArray
Scalar, numeric array with the starting index of the selection.
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 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