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.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
DoubleThe linearly spaced samples.
See Also