ILNumerics Ultimate VS

ILMatharangeT Method (T, T)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Creates vector of evenly spaced values over a closed interval, elements of type T.

[ILNumerics Computing Engine]

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

public static RetArray<T> arange<T>(
	T start,
	T end
)
where T : IConvertible

Parameters

start
Type: T
Start value, inclusive.
end
Type: T
End value, inclusive.

Type Parameters

T

Return Value

Type: RetArrayT
Vector with n equally spaced elements from start to end, all with interval 1.
Exceptions

ExceptionCondition
ArgumentException if start>end, if T is not a supported numeric value type, if start or end is not scalar, is null or is not of a supported numeric, convertible element type.
Remarks

The last element of the returned vector is less than or equal to end.

arange``1(UMP, UMP) can not create empty vectors! Use empty``1(Int64, Int64, StorageOrders), zeros``1(Int64, Int64, StorageOrders), array``1(UMP, Int64, StorageOrders) or the like to create empty arrays.

[ILNumerics Computing Engine]

See Also

Reference

MathInternal.counter``1(UMP, UMP, Int64, Int64, StorageOrders)
MathInternal.arange``2(UMP, UMP, UMP)
MathInternal.vector``1(UMP, UMP, UMP, UMP, UMP, UMP, UMP, UMP, UMP)
MathInternal.linspace``1(InArrayUMP, InArrayUMP, InArrayUMP)