Click or drag to resize

VectorMathCreateEquidistantSequencyByStartAtOffsetStepLength(Int16, Int32, Int16, Int32) Method

Creates a read-only vector with equidistant elements from start - startOffset*step to start + (length - 1 -startOffset)*step. The created vector consumes memory only for the three variables, independent of its length.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IReadOnlyList<short> CreateEquidistantSequencyByStartAtOffsetStepLength(
	short start,
	int startOffset,
	short step,
	int length
)

Parameters

start  Int16
Value of the element of the vector at index startOffset).
startOffset  Int32
Index of the element of the vector which gets the value of start.
step  Int16
Difference between two successive elements.
length  Int32
Length of the vector.

Return Value

IReadOnlyListInt16
Read-only vector with equidistant elements from start - startOffset*step to start + (length - 1 -startOffset)*step.
See Also