NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ get_cdmatrix()

void linalg::get_cdmatrix ( int  n,
void *  a,
cdmatrix &  A 
)

Definition at line 42 of file linalg_eigen.cpp.

Referenced by cplx_matrix_inverse(), and eigen_hermv().

42  {
43  int i,j;
44  cdouble *aa=(cdouble*)a;
45  for(i=0;i<n;i++) for(j=0;j<n;j++) aa[i*n+j]=A(i,j);
46 }
std::complex< double > cdouble
+ Here is the caller graph for this function: