ILNumerics Ultimate VS

ILMathlinspaceT Method (InArrayT, InArrayT, InArrayT)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Create linearly spaced row vector, generic element type.

[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> linspace<T>(
	InArray<T> start,
	InArray<T> end,
	InArray<T> length
)
where T : struct, new(), IConvertible

Parameters

start
Type: ILNumericsInArrayT
First value, scalar, numeric
end
Type: ILNumericsInArrayT
Last value, scalar, numeric
length
Type: ILNumericsInArrayT
Number of elements to create, scalar, numeric

Type Parameters

T

Return Value

Type: RetArrayT
Row vector with 'length' elements linearly spaced between start and end
Remarks

[F:linspace{T}(InArray{T}, InArray{T}, InArray{T})] returns an empty array if length is 0.

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

[ILNumerics Computing Engine]

See Also

Reference