43 #ifndef ILLCONDDECTOR_H 44 #define ILLCONDDECTOR_H 49 #include <Eigen/Sparse> 53 extern "C" void dgesv_(
const int *N,
const int *nrhs,
double *
A,
const int *lda,
int 54 *ipiv,
double *
b,
const int *ldb,
int *info);
56 extern "C" void dgels_(
const char *trans,
const int *M,
const int *N,
const int *nrhs,
57 double *
A,
const int *lda,
double *
b,
const int *ldb,
double *work,
58 const int * lwork,
int *info);
64 extern "C" void dpotrf_(
const char *UPLO,
const int *N,
double *
A,
const int *LDA,
int *info);
71 extern "C" void dpocon_(
const char *UPLO,
const int *N,
const double *AP,
const int *lda,
const double *ANORM,
72 double *RCOND,
double *WORK,
int *LWORK,
int *INFO);
77 extern "C" void dgesvd_(
const char *JOBU,
const char *JOBVT,
const int *M,
const int *N,
double *
A,
const int *LDA,
78 double *S,
double *U,
const int *LDU,
double *VT,
const int *LDVT,
double *WORK,
const int *LWORK,
int *info);
82 typedef Eigen::SparseMatrix<double>
EigenSp;
83 typedef Eigen::VectorXd
VX;
91 void inline SetParm(
int _ns,
int _nl,
int _condthres,
int _gap);
void SetParm(int _ns, int _nl, int _condthres, int _gap)
double GetCondNum() const
void dgesvd_(const char *JOBU, const char *JOBVT, const int *M, const int *N, double *A, const int *LDA, double *S, double *U, const int *LDU, double *VT, const int *LDVT, double *WORK, const int *LWORK, int *info)
void dpocon_(const char *UPLO, const int *N, const double *AP, const int *lda, const double *ANORM, double *RCOND, double *WORK, int *LWORK, int *INFO)
void dgesv_(const int *N, const int *nrhs, double *A, const int *lda, int *ipiv, double *b, const int *ldb, int *info)
double EquilibriumError(EigenSp const &K, VX const &D, VX const &F)
GLboolean GLboolean GLboolean b
void dgels_(const char *trans, const int *M, const int *N, const int *nrhs, double *A, const int *lda, double *b, const int *ldb, double *work, const int *lwork, int *info)
void dpotrf_(const char *UPLO, const int *N, double *A, const int *LDA, int *info)
Eigen::SparseMatrix< double > EigenSp
void EigenLap(EigenSp const &K)