Click or drag to resize

DoubleColumnGetUsedLength Method

Returns the used length of the array. This is one plus the highest index of the number different from Double.NaN.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static int GetUsedLength(
	double[] values,
	int currentlength
)

Parameters

values  Double
The array for which the used length has to be determined.
currentlength  Int32
The current length of the array. Normally values.Length, but you can provide a value less than this.

Return Value

Int32
The used length, i.e. numbers above the used length until the end of the array are NaNs.
See Also