Skip to content

Utils.Function.checkStrictlyIncreasing

Christian d'Heureuse edited this page Sep 25, 2026 · 1 revision

commons-math-interpolation / Utils / checkStrictlyIncreasing

Function: checkStrictlyIncreasing()

function checkStrictlyIncreasing(a): void;

Defined in: Utils.ts:133

Checks that all values of a number sequence are finite and that the sequence is strictly increasing. Adjacent values must not be equal.

Parameters

a

ArrayLike<number>

The number sequence to be checked.

Returns

void

Throws

Error If a value is not finite or if the sequence is not strictly increasing.

Clone this wiki locally