Click or drag to resize

GenerateLinearRangeInt32(Int32, Int32, Int32) Method

Generate a linearly spaced sample vector within the inclusive interval (start, stop) and the provided step. The start value is always included as first value, but stop is only included if it stop-start is a multiple of step. Equivalent to MATLAB double colon operator (::).

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

Parameters

start  Int32
The start value of the range.
step  Int32
The step size.
stop  Int32
The end value of the range.

Return Value

Int32
The generated sample vector.
See Also