AtomDiag()
Whether x is a numerical scalar or numpy array.
x
Value to test.
True for built-in / numpy ints, floats, complex numbers and numpy arrays.
True