CurveBaseThrowIfContainsNegativeOrNaNOrInfiniteValues Method |
Throws an
ArgumentException when the provided array contains negative, NaN or infinite values.
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxprotected static void ThrowIfContainsNegativeOrNaNOrInfiniteValues(
IReadOnlyList<double> a,
string argumentName
)
Parameters
- a IReadOnlyListDouble
- The array to check.
- argumentName String
- Name of the argument to include in the exception.
Exceptions| Exception | Condition |
|---|
| ArgumentException | Thrown when an element is negative, NaN or infinite. |
See Also