Click or drag to resize

GenerateLinearSpaced Method

Generate a linearly spaced sample vector of the given length between the specified values (inclusive). Equivalent to MATLAB linspace but with the length as first instead of last argument.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double[] LinearSpaced(
	int length,
	double start,
	double stop
)

Parameters

length  Int32
The number of samples to generate.
start  Double
The start value of the range.
stop  Double
The end value of the range.

Return Value

Double
The linearly spaced samples.
See Also