matrix.any()

numpy.matrix.any

matrix.any(axis=None, out=None) [source]

Test whether any array element along a given axis evaluates to True.

Refer to numpy.any for full documentation.

Parameters:

axis : int, optional

Axis along which logical OR is performed

out : ndarray, optional

Output to existing arr