CurveBaseThrowIfIsNotMonotonicallyIncreasing Method |
Throws an
ArgumentException if
a is not monotonically
increasing (each element is greater than or equal to its predecessor). Also throws if
the array is empty.
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxprotected static void ThrowIfIsNotMonotonicallyIncreasing(
IReadOnlyList<double> a,
string argumentName
)
Parameters
- a IReadOnlyListDouble
- The array to validate.
- argumentName String
- Name of the argument to include in the exception.
Exceptions| Exception | Condition |
|---|
| ArgumentException | Thrown when the array is empty or not monotonically increasing. |
See Also