ILNumerics Ultimate VSILMathvec Method (Double, Double, Double)ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development

Note: This API is now obsolete.

Creates vector of evenly spaced values of certain step size over a closed interval, elements of Double.

[ILNumerics Computing Engine]

Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.3.0.0 (5.3.7131.2749)
Syntax

[ObsoleteAttribute("Use arange<T,Ts>(T,TS,T) instead!")]
public static RetArray<double> vec(
	double start,
	double step,
	double end
)

Parameters

start
Type: SystemDouble
Start value, inclusive.
step
Type: SystemDouble
Step value.
end
Type: SystemDouble
End value, inclusive.

Return Value

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

ExceptionCondition
ArgumentException if start>end.
Remarks

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

vec(Double, Double, Double) and vec(Double, Double) can not create empty vectors! Use empty``1(Int64, Int64, StorageOrders), zeros``1(Int64, Int64, StorageOrders), array``1(UMP, Int64, StorageOrders) or the similar to create empty arrays.

This function is provided for compatibility with older versions only. Use arange``2(UMP, UMP, UMP) instead!

[ILNumerics Computing Engine]

See Also

Reference

MathInternal.counter``1(UMP, UMP, Int64, Int64, StorageOrders)
MathInternal.empty``1(Int64, 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)