return the eigenvalue and eigenvectors of a Hessian (symmetric)
The following is from numpy.linalg.eigh
Return the eigenvalues and eigenvectors of a Hermitian or symmetric matrix.
Returns two objects, a 1-D array containing the eigenvalues of a, and a 2-D square array or matrix (depending on the input type) of the corresponding eigenvectors (in columns).
Parameters : | a : array_like, shape (M, M)
UPLO : {‘L’, ‘U’}, optional
|
---|---|
Returns : | w : ndarray, shape (M,)
v : ndarray, or matrix object if a is, shape (M, M)
|
Raises : | LinAlgError
|