LinearInterpolationGetNextIndexOfValidPair Method |
Finds the next index at or after currentIndex where both xcol and ycol contain valid (non-NaN) values.
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static int GetNextIndexOfValidPair(
IReadOnlyList<double> xcol,
IReadOnlyList<double> ycol,
int sourceLength,
int currentIndex
)
Parameters
- xcol IReadOnlyListDouble
- The x-values column.
- ycol IReadOnlyListDouble
- The y-values column.
- sourceLength Int32
- Length of the source arrays to consider.
- currentIndex Int32
- Index to start searching from.
Return Value
Int32The index of the next valid pair, or -1 if none found.
See Also