def all_real(self): """ returns True iff all array elements are regular floats, as opposed to inf's, -inf's, and NaN's. """ return (self*0).sum()==0