[Numpy-discussion] add .H attribute?

josef.pktd at gmail.com josef.pktd at gmail.com
Wed Jul 24 04:05:24 EDT 2013

On Tue, Jul 23, 2013 at 4:35 AM, Dag Sverre Seljebotn
<d.s.seljebotn at astro.uio.no> wrote:

> There's lots of uses for A.H to be a conjugating-view, e.g., np.dot(A.H,
> A) can be done on-the-fly by BLAS at no extra cost, and so on. These are
> currently not possible with pure NumPy without a copy, which is a pretty
> big defect IMO (and one reason I'd call BLAS myself using Cython rather
> than use np.dot...)

Wouldn't the simpler way not just be to expose those linalg functions?

hdot(X, Y)  == dot(X.T, Y) (if not complex)
          == dot(X.H, Y)    (if complex)


More information about the NumPy-Discussion mailing list