Click or drag to resize

CurveBaseThrowIfContainsNaNOrInfiniteValues Method

Throws an ArgumentException when the provided array contains NaN or infinite values.

Namespace: Altaxo.Calc.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
protected static void ThrowIfContainsNaNOrInfiniteValues(
	IReadOnlyList<double> a,
	string argumentName
)

Parameters

a  IReadOnlyListDouble
The array to check.
argumentName  String
Name of the argument to include in the exception.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when an element is NaN or infinite.
See Also