Mark Dickinson <dicki...@gmail.com> added the comment:
I think you want numpy.angle (https://docs.scipy.org/doc/numpy/reference/generated/numpy.angle.html). NumPy is a third-party library, so it doesn't make sense to have the math or cmath functions be aware of NumPy arrays; none of the other math or cmath functions work on arrays. Generally for this sort of thing you want to look for a solution in NumPy or SciPy. ---------- resolution: -> rejected stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37676> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com