pyanno4rt.tools._non_decreasing

Non-decrease testing.

Overview

Function

non_decreasing(array)

Test whether an array is non-decreasing.

Functions

pyanno4rt.tools._non_decreasing.non_decreasing(array)[source]

Test whether an array is non-decreasing.

Parameters:

array (ndarray) – One-dimensional input array.

Returns:

Indicator for the non-decrease of the array.

Return type:

bool