NESSi  v1.0.2 The NonEquilibrium Systems Simulation Library

## ◆ eigen_hermv()

 void linalg::eigen_hermv ( int size, std::complex< double > * A, double * eval, std::complex< double > * evec )

Evaluate the eigen set of a given Hermitian matrix $$A$$.

Purpose

Evaluate the eigen system of a given Hermitian matrix $$A$$, and put the eigen values into "eval" and and the eigen vectors into "evec".

Parameters
 size Size of the matrix $$A$$. A A Hermitian matrix given as a pointer. eval A complex vector into which the eigen values are set. Given as a pointer. evec A complex Matrix into which the eigen vectors are set. Given as a pointer.

Definition at line 134 of file linalg_eigen.cpp.

References get_cdmatrix(), get_dvector(), and set_cdmatrix().

134  {
135  cdmatrix A_eigen;
136  cdmatrix evec_eigen;
137  dvector eval_eigen;
138  set_cdmatrix(n,A,A_eigen);