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.3179.0 (4.8.3179.0)
Syntax
C#
public static double[] LinearSpaced(
	int length,
	double start,
	double stop
)

Parameters

length  Int32

[Missing <param name="length"/> documentation for "M:Altaxo.Calc.Generate.LinearSpaced(System.Int32,System.Double,System.Double)"]

start  Double

[Missing <param name="start"/> documentation for "M:Altaxo.Calc.Generate.LinearSpaced(System.Int32,System.Double,System.Double)"]

stop  Double

[Missing <param name="stop"/> documentation for "M:Altaxo.Calc.Generate.LinearSpaced(System.Int32,System.Double,System.Double)"]

Return Value

Double

[Missing <returns> documentation for "M:Altaxo.Calc.Generate.LinearSpaced(System.Int32,System.Double,System.Double)"]

See Also