ILNumerics Ultimate VS

ILMathlinspace Method (InArrayDouble, InArrayDouble, InArrayDouble)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Create linearly spaced row vector, double precision.

[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<double> linspace(
	InArray<double> start,
	InArray<double> end,
	InArray<double> length
)

Parameters

start
Type: ILNumericsInArrayDouble
The first value.
end
Type: ILNumericsInArrayDouble
The last value.
length
Type: ILNumericsInArrayDouble
Number of elements to create.

Return Value

Type: RetArrayDouble
Vector with 'length' elements linearly spaced between start and end.
Remarks

linspace(InArrayDouble, InArrayDouble, InArrayDouble) returns an empty array if length is 0.

linspace(InArrayDouble, InArrayDouble, InArrayDouble) returns a scalar array with the value of end if length is 1.

[ILNumerics Computing Engine]

See Also

Reference