Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the adjoint of a matrix in numpy obtained by np.matrix.getH()

Tags:

python

numpy

when I want to get the adjoint of a numpy array, I have to type

A = np.matrix([...])
A.getH()

I am curious about the naming. Why is it

np.matrix.getH()?

In contrast, transpose and conjugate are implemented as

ndarray.transpose()
ndarray.conjugate()
like image 766
Mohammed Li Avatar asked Oct 11 '25 18:10

Mohammed Li


1 Answers

I think the complex conjugate or the Hermitian transpose of a matrix with complex entries A* obtained from A gives the adjoint matrix.

Long story short, getH smells like get Hermitian transpose.

like image 183
Armen Avetisyan Avatar answered Oct 15 '25 16:10

Armen Avetisyan