Navigation

Operators and Keywords

Function List:

C++ API

eigs-base.cc File Reference

#include <cfloat>
#include <cmath>
#include <vector>
#include <iostream>
#include "f77-fcn.h"
#include "quit.h"
#include "SparsedbleLU.h"
#include "SparseCmplxLU.h"
#include "dSparse.h"
#include "CSparse.h"
#include "MatrixType.h"
#include "SparsedbleCHOL.h"
#include "SparseCmplxCHOL.h"
#include "oct-rand.h"
#include "dbleCHOL.h"
#include "CmplxCHOL.h"
#include "dbleLU.h"
#include "CmplxLU.h"
Include dependency graph for eigs-base.cc:
This graph shows which files directly or indirectly include this file:

Typedefs

typedef ColumnVector(* EigsFunc )(const ColumnVector &x, int &eigs_error)
typedef ComplexColumnVector(* EigsComplexFunc )(const ComplexColumnVector &x, int &eigs_error)

Functions

F77_RET_T F77_FUNC (dsaupd, DSAUPD)(octave_idx_type &
F77_RET_T F77_FUNC (dseupd, DSEUPD)(const octave_idx_type &
F77_RET_T F77_FUNC (dnaupd, DNAUPD)(octave_idx_type &
F77_RET_T F77_FUNC (dneupd, DNEUPD)(const octave_idx_type &
F77_RET_T F77_FUNC (znaupd, ZNAUPD)(octave_idx_type &
F77_RET_T F77_FUNC (zneupd, ZNEUPD)(const octave_idx_type &
F77_RET_T F77_FUNC (dgemv, DGEMV)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (zgemv, ZGEMV)(F77_CONST_CHAR_ARG_DECL
template<class M >
octave_idx_type EigsRealSymmetricMatrix (const M &m, const std::string typ, octave_idx_type k, octave_idx_type p, octave_idx_type &info, Matrix &eig_vec, ColumnVector &eig_val, const M &_b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol, bool rvec, bool cholB, int disp, int maxit)
template<class M >
octave_idx_type EigsRealSymmetricMatrixShift (const M &m, double sigma, octave_idx_type k, octave_idx_type p, octave_idx_type &info, Matrix &eig_vec, ColumnVector &eig_val, const M &_b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol, bool rvec, bool cholB, int disp, int maxit)
octave_idx_type EigsRealSymmetricFunc (EigsFunc fun, octave_idx_type n, const std::string &_typ, double sigma, octave_idx_type k, octave_idx_type p, octave_idx_type &info, Matrix &eig_vec, ColumnVector &eig_val, ColumnVector &resid, std::ostream &os, double tol, bool rvec, bool, int disp, int maxit)
template<class M >
octave_idx_type EigsRealNonSymmetricMatrix (const M &m, const std::string typ, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const M &_b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol, bool rvec, bool cholB, int disp, int maxit)
template<class M >
octave_idx_type EigsRealNonSymmetricMatrixShift (const M &m, double sigmar, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const M &_b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol, bool rvec, bool cholB, int disp, int maxit)
octave_idx_type EigsRealNonSymmetricFunc (EigsFunc fun, octave_idx_type n, const std::string &_typ, double sigmar, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, ColumnVector &resid, std::ostream &os, double tol, bool rvec, bool, int disp, int maxit)
template<class M >
octave_idx_type EigsComplexNonSymmetricMatrix (const M &m, const std::string typ, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const M &_b, ColumnVector &permB, ComplexColumnVector &cresid, std::ostream &os, double tol, bool rvec, bool cholB, int disp, int maxit)
template<class M >
octave_idx_type EigsComplexNonSymmetricMatrixShift (const M &m, Complex sigma, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const M &_b, ColumnVector &permB, ComplexColumnVector &cresid, std::ostream &os, double tol, bool rvec, bool cholB, int disp, int maxit)
octave_idx_type EigsComplexNonSymmetricFunc (EigsComplexFunc fun, octave_idx_type n, const std::string &_typ, Complex sigma, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, ComplexColumnVector &cresid, std::ostream &os, double tol, bool rvec, bool, int disp, int maxit)
octave_idx_type EigsRealSymmetricMatrix (const Matrix &m, const std::string typ, octave_idx_type k, octave_idx_type p, octave_idx_type &info, Matrix &eig_vec, ColumnVector &eig_val, const Matrix &b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)
octave_idx_type EigsRealSymmetricMatrix (const SparseMatrix &m, const std::string typ, octave_idx_type k, octave_idx_type p, octave_idx_type &info, Matrix &eig_vec, ColumnVector &eig_val, const SparseMatrix &b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)
octave_idx_type EigsRealSymmetricMatrixShift (const Matrix &m, double sigma, octave_idx_type k, octave_idx_type p, octave_idx_type &info, Matrix &eig_vec, ColumnVector &eig_val, const Matrix &b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)
octave_idx_type EigsRealSymmetricMatrixShift (const SparseMatrix &m, double sigma, octave_idx_type k, octave_idx_type p, octave_idx_type &info, Matrix &eig_vec, ColumnVector &eig_val, const SparseMatrix &b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)
octave_idx_type EigsRealNonSymmetricMatrix (const Matrix &m, const std::string typ, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const Matrix &b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)
octave_idx_type EigsRealNonSymmetricMatrix (const SparseMatrix &m, const std::string typ, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const SparseMatrix &b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)
octave_idx_type EigsRealNonSymmetricMatrixShift (const Matrix &m, double sigma, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const Matrix &b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)
octave_idx_type EigsRealNonSymmetricMatrixShift (const SparseMatrix &m, double sigma, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const SparseMatrix &b, ColumnVector &permB, ColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)
octave_idx_type EigsComplexNonSymmetricMatrix (const ComplexMatrix &m, const std::string typ, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const ComplexMatrix &b, ColumnVector &permB, ComplexColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)
octave_idx_type EigsComplexNonSymmetricMatrix (const SparseComplexMatrix &m, const std::string typ, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const SparseComplexMatrix &b, ColumnVector &permB, ComplexColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)
octave_idx_type EigsComplexNonSymmetricMatrixShift (const ComplexMatrix &m, Complex sigma, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const ComplexMatrix &b, ColumnVector &permB, ComplexColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)
octave_idx_type EigsComplexNonSymmetricMatrixShift (const SparseComplexMatrix &m, Complex sigma, octave_idx_type k, octave_idx_type p, octave_idx_type &info, ComplexMatrix &eig_vec, ComplexColumnVector &eig_val, const SparseComplexMatrix &b, ColumnVector &permB, ComplexColumnVector &resid, std::ostream &os, double tol=DBL_EPSILON, bool rvec=false, bool cholB=0, int disp=0, int maxit=300)

Variables

F77_RET_T F77_CONST_CHAR_ARG_DECL
F77_RET_T const
octave_idx_type const
octave_idx_type const double
double const octave_idx_type
double const octave_idx_type
octave_idx_type
octave_idx_type double double
const octave_idx_type
octave_idx_type
&F77_CHAR_ARG_LEN_DECL 
F77_CHAR_ARG_LEN_DECL

Typedef Documentation

typedef ComplexColumnVector(* EigsComplexFunc)(const ComplexColumnVector &x, int &eigs_error)
typedef ColumnVector(* EigsFunc)(const ColumnVector &x, int &eigs_error)

Function Documentation

octave_idx_type EigsComplexNonSymmetricFunc ( EigsComplexFunc  fun,
octave_idx_type  n,
const std::string &  _typ,
Complex  sigma,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
ComplexColumnVector cresid,
std::ostream &  os,
double  tol,
bool  rvec,
bool  ,
int  disp,
int  maxit 
)
template<class M >
octave_idx_type EigsComplexNonSymmetricMatrix ( const M m,
const std::string  typ,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const M _b,
ColumnVector permB,
ComplexColumnVector cresid,
std::ostream &  os,
double  tol,
bool  rvec,
bool  cholB,
int  disp,
int  maxit 
)
octave_idx_type EigsComplexNonSymmetricMatrix ( const ComplexMatrix m,
const std::string  typ,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const ComplexMatrix b,
ColumnVector permB,
ComplexColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
octave_idx_type EigsComplexNonSymmetricMatrix ( const SparseComplexMatrix m,
const std::string  typ,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const SparseComplexMatrix b,
ColumnVector permB,
ComplexColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
template<class M >
octave_idx_type EigsComplexNonSymmetricMatrixShift ( const M m,
Complex  sigma,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const M _b,
ColumnVector permB,
ComplexColumnVector cresid,
std::ostream &  os,
double  tol,
bool  rvec,
bool  cholB,
int  disp,
int  maxit 
)
octave_idx_type EigsComplexNonSymmetricMatrixShift ( const ComplexMatrix m,
Complex  sigma,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const ComplexMatrix b,
ColumnVector permB,
ComplexColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
octave_idx_type EigsComplexNonSymmetricMatrixShift ( const SparseComplexMatrix m,
Complex  sigma,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const SparseComplexMatrix b,
ColumnVector permB,
ComplexColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
octave_idx_type EigsRealNonSymmetricFunc ( EigsFunc  fun,
octave_idx_type  n,
const std::string &  _typ,
double  sigmar,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
ColumnVector resid,
std::ostream &  os,
double  tol,
bool  rvec,
bool  ,
int  disp,
int  maxit 
)
template<class M >
octave_idx_type EigsRealNonSymmetricMatrix ( const M m,
const std::string  typ,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const M _b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol,
bool  rvec,
bool  cholB,
int  disp,
int  maxit 
)
octave_idx_type EigsRealNonSymmetricMatrix ( const SparseMatrix m,
const std::string  typ,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const SparseMatrix b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
octave_idx_type EigsRealNonSymmetricMatrix ( const Matrix m,
const std::string  typ,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const Matrix b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
template<class M >
octave_idx_type EigsRealNonSymmetricMatrixShift ( const M m,
double  sigmar,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const M _b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol,
bool  rvec,
bool  cholB,
int  disp,
int  maxit 
)
octave_idx_type EigsRealNonSymmetricMatrixShift ( const Matrix m,
double  sigma,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const Matrix b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
octave_idx_type EigsRealNonSymmetricMatrixShift ( const SparseMatrix m,
double  sigma,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
ComplexMatrix eig_vec,
ComplexColumnVector eig_val,
const SparseMatrix b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
octave_idx_type EigsRealSymmetricFunc ( EigsFunc  fun,
octave_idx_type  n,
const std::string &  _typ,
double  sigma,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
Matrix eig_vec,
ColumnVector eig_val,
ColumnVector resid,
std::ostream &  os,
double  tol,
bool  rvec,
bool  ,
int  disp,
int  maxit 
)
template<class M >
octave_idx_type EigsRealSymmetricMatrix ( const M m,
const std::string  typ,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
Matrix eig_vec,
ColumnVector eig_val,
const M _b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol,
bool  rvec,
bool  cholB,
int  disp,
int  maxit 
)
octave_idx_type EigsRealSymmetricMatrix ( const Matrix m,
const std::string  typ,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
Matrix eig_vec,
ColumnVector eig_val,
const Matrix b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
octave_idx_type EigsRealSymmetricMatrix ( const SparseMatrix m,
const std::string  typ,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
Matrix eig_vec,
ColumnVector eig_val,
const SparseMatrix b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
template<class M >
octave_idx_type EigsRealSymmetricMatrixShift ( const M m,
double  sigma,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
Matrix eig_vec,
ColumnVector eig_val,
const M _b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol,
bool  rvec,
bool  cholB,
int  disp,
int  maxit 
)
octave_idx_type EigsRealSymmetricMatrixShift ( const SparseMatrix m,
double  sigma,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
Matrix eig_vec,
ColumnVector eig_val,
const SparseMatrix b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
octave_idx_type EigsRealSymmetricMatrixShift ( const Matrix m,
double  sigma,
octave_idx_type  k,
octave_idx_type  p,
octave_idx_type info,
Matrix eig_vec,
ColumnVector eig_val,
const Matrix b,
ColumnVector permB,
ColumnVector resid,
std::ostream &  os,
double  tol = DBL_EPSILON,
bool  rvec = false,
bool  cholB = 0,
int  disp = 0,
int  maxit = 300 
)
F77_RET_T F77_FUNC ( dseupd  ,
DSEUPD   
) const
F77_RET_T F77_FUNC ( zgemv  ,
ZGEMV   
)
F77_RET_T F77_FUNC ( dneupd  ,
DNEUPD   
) const
F77_RET_T F77_FUNC ( dsaupd  ,
DSAUPD   
)
F77_RET_T F77_FUNC ( znaupd  ,
ZNAUPD   
)
F77_RET_T F77_FUNC ( zneupd  ,
ZNEUPD   
) const
F77_RET_T F77_FUNC ( dnaupd  ,
DNAUPD   
)
F77_RET_T F77_FUNC ( dgemv  ,
DGEMV   
)

Variable Documentation

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines