Check if all elements of input array are true. .. deprecated:: 1.25.0 ``alltrue`` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead. See Also -------- numpy.all : Equivalent function; see for details.
(*args, **kwargs)
| 3906 | |
| 3907 | @array_function_dispatch(_alltrue_dispatcher, verify=False) |
| 3908 | def alltrue(*args, **kwargs): |
| 3909 | """ |
| 3910 | Check if all elements of input array are true. |
| 3911 | |
| 3912 | .. deprecated:: 1.25.0 |
| 3913 | ``alltrue`` is deprecated as of NumPy 1.25.0, and will be |
| 3914 | removed in NumPy 2.0. Please use `all` instead. |
| 3915 | |
| 3916 | See Also |
| 3917 | -------- |
| 3918 | numpy.all : Equivalent function; see for details. |
| 3919 | """ |
| 3920 | return all(*args, **kwargs) |