[Numpy-discussion] RFC: supporting complex inputs in np.logaddexp

Filippo Vicentini filippovicentini at gmail.com
Tue Jun 1 09:17:53 EDT 2021

Hello all,

I would like to ask if the maintainers would be in favour of adding 
support to np.logaddexp in order to support complex numbers.
scipy.special.logsumexp already does, and it would be relatively 
straightforward to support them in numpy too.

Complex numbers are very common when working in quantum physics, where 
we have complex-valued probability amplitudes.

Filippo Vicentini

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/numpy-discussion/attachments/20210601/59b115c3/attachment.html>

More information about the NumPy-Discussion mailing list