[NumPy-Tickets] [NumPy] #2152: np.inner is no inner product (conjugate symmetry)
NumPy Trac
numpy-tickets@scipy....
Wed Jun 6 03:51:43 CDT 2012
#2152: np.inner is no inner product (conjugate symmetry)
---------------------+------------------------------------------------------
Reporter: nschloe | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: Other | Version: 1.6.1
Keywords: |
---------------------+------------------------------------------------------
The documentation says it:
"Ordinary inner product of vectors for 1-D arrays (without complex
conjugation)."
This means that, for complex vectors, np.inner -- other than its name
suggests -- does *not* define an inner product as the symmetry isn't
conjugate.
For the sake of consistency, either this function should be renamed or
np.inner should be made compliant with actual inner products.
This of course would break backward compatibility, but for the sake of
consistency with mathematics, this seems justified.
(Is there, at this point, actually any difference between np.inner and
np.dot?).
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/2152>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list