Logic functions

Logic functions

Truth value testing

all(a[, axis, out, keepdims]) Test whether all array elements along a given axis evaluate to True.
any(a[, axis, out, keepdims]) Test whether any array element along a given axis evaluates to True.

Array contents

isfinite(x[, out]) Test element-wise for finitenes