| 103 | // ---------------------------------------------------------------------------------------- |
| 104 | |
| 105 | double probability_that_sequence_is_increasing ( |
| 106 | py::object arr |
| 107 | ) |
| 108 | { |
| 109 | DLIB_CASSERT(len(arr) > 2); |
| 110 | return probability_gradient_greater_than(python_list_to_vector<double>(arr), 0); |
| 111 | } |
| 112 | |
| 113 | // ---------------------------------------------------------------------------------------- |
| 114 |
nothing calls this directly
no test coverage detected