NumPy: Test a given array element-wise for finiteness (not infinity or ...

NumPy: Test a given array element-wise for finiteness (not infinity or ...