~wbetz/fesslix/flxeigen

« back to all changes in this revision

Viewing changes to src/flxMtx_Eigen_ARP.cpp

  • Committer: Wolfgang Betz
  • Date: 2018-01-29 07:54:36 UTC
  • Revision ID: wolfgang.betz@fesslix.org-20180129075436-se2y5113qpghxa8v
Fixed C++-compiler issue related to arpack++-library

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
  // Defining variables;
105
105
  const int     n = Amtx.ncols();       // Dimension of the problem.
106
106
  tdouble* A= Amtx.get_VecPointer();    // Pointer to an array that stores the lower triangular elements of A.
107
 
  const char uplo='U';
108
107
  
109
108
  ARdsSymMatrix<tdouble> matrix(n, A,'U');
110
 
  ARluSymStdEig<tdouble> dprob(M, matrix);
 
109
  ARluSymStdEig<tdouble> dprob(M, matrix,(char*)"LM");
111
110
 
112
111
  // Finding eigenvalues and eigenvectors.
113
112
  dprob.FindEigenvectors();
161
160
  
162
161
  ARdsSymMatrix<tdouble> matrixA(n, A,uplo);
163
162
  ARdsSymMatrix<tdouble> matrixB(n, B,uplo);
164
 
  ARluSymGenEig<tdouble> dprob(M, matrixA, matrixB);
 
163
  ARluSymGenEig<tdouble> dprob(M, matrixA, matrixB,(char*)"LM");
165
164
 
166
165
  // Finding eigenvalues and eigenvectors.
167
166
  dprob.FindEigenvectors();