Cytnx
Cytnx copied to clipboard
V dagger when row_v = True
In general, one has M=VDV^{-1}. When M is Hermitian then V^{-1}=V^{\dagger}. I think we should only return V, whose columns are the (right) eigenvectors. Now even for eig, if one set row_v=True, one get V^dagger. In this case, if one really wants, one should get V^{-1} instead of V^\dagger?
But, do we have a simple way to get the inverse?
I think V^{-1} is V^\dagger if U is unitary, so I think just do dagger