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

2021-06-07 Thread Ralf Gommers
On Tue, Jun 1, 2021 at 3:18 PM Filippo Vicentini wrote: > 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 suppo

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

2021-06-01 Thread Filippo Vicentini
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 worki