eig#

swordfish.function.eig()#

Calculate the eigenvalues and eigenvectors of A.

The result of eig is the same as the result of numpy.linalg.eigh.

参数:

A (Constant) -- A real symmetric matrix or a Hermitian matrix.

返回:

A dictionary.

返回类型:

Constant