diff --git a/nonclass.h b/nonclass.h index 494da68..9e9e707 100644 --- a/nonclass.h +++ b/nonclass.h @@ -106,18 +106,18 @@ declare_la(std::complex) //general nonsymmetric matrix and generalized diagonalization //corder =0 ... C rows are eigenvectors, =1 ... C columns are eigenvectors extern void gdiagonalize(NRMat &a, NRVec &wr, NRVec &wi, - NRMat *vl, NRMat *vr, const bool corder=1, int n=0, const int sorttype=0, const int biorthonormalize=0, + NRMat *vl=NULL, NRMat *vr=NULL, const bool corder=1, int n=0, const int sorttype=0, const int biorthonormalize=0, NRMat *b=NULL, NRVec *beta=NULL); //this used real storage of eigenvectors like dgeev template extern void gdiagonalize(NRMat &a, NRVec< std::complex > &w, - NRMat< std::complex >*vl, NRMat< std::complex > *vr, + NRMat< std::complex >*vl=NULL, NRMat< std::complex > *vr=NULL, const bool corder=1, int n=0, const int sorttype=0, const int biorthonormalize=0, NRMat *b=NULL, NRVec *beta=NULL); //eigenvectors are stored in complex matrices for T both double and complex //for compatibility in davidson extern void gdiagonalize(NRMat > &a, NRVec &wr, NRVec &wi, - NRMat > *vl, NRMat > *vr, const bool corder=1, int n=0, const int sorttype=0, const int biorthonormalize=0, + NRMat > *vl=NULL, NRMat > *vr=NULL, const bool corder=1, int n=0, const int sorttype=0, const int biorthonormalize=0, NRMat > *b=NULL, NRVec > *beta=NULL); //complex,real,imaginary parts of various entities