33 evsldata.
LTsol = NULL;
74 evsldata.
Amv->
data = (
void *) A;
89 evsldata.
Bmv->
data = (
void *) B;
133 if (!evsldata.
Bsol) {
173 for (i=0; i<num; i++) {
186 if (!evsldata.
LTsol) {
void(* MVFunc)(double *x, double *y, void *data)
matvec function prototype
int SetGenEig()
Set the problem to generalized eigenvalue problem.
void(* SolFuncC)(int n, double *br, double *bz, double *xr, double *xz, void *data)
linear solver function prototype: [complex version] which is used for solving system with A-SIGMA B n...
int SetAMatrix(csrMat *A)
Set the matrix A.
int SetBMatvec(int n, MVFunc func, void *data)
Set the user-input matvec routine and the associated data for B. Save them in evsldata.
int SetBMatrix(csrMat *B)
Set the B matrix.
user-provided function for solving L^{T} x = b
user-provided function and data for solving B x = b
int EVSLStart()
Initialize evslData.
#define Calloc(base, nmem, type)
This file contains function prototypes and constant definitions internally used in EVSL...
EVSLASIGMABSol * ASIGBsol
evslStat evslstat
global statistics of EVSL
user-provided function and data for solving (A - SIGMA*B) x = b
int SetLTSol(SolFuncR func, void *data)
Set the solve routine for LT.
int SetStdEig()
Set the problem to standard eigenvalue problem.
void(* SolFuncR)(double *b, double *x, void *data)
function prototype for applying the solve B x = b
sparse matrix format: the compressed sparse row (CSR) format, 0-based
int EVSLFinish()
Finish EVSL.
int SetBSol(SolFuncR func, void *data)
Set the solve routine and the associated data for B.
void SetDiagScal(double *ds)
Set diagonal scaling matrix D.
wrapper of all global variables in EVSL
evslData evsldata
global variable of EVSL
void matvec_csr(double *x, double *y, void *data)
matvec for a CSR matrix, y = A*x. void *data points to csrMat, compatible form with EVSLMatvec (see s...
int SetASigmaBSol(ratparams *rat, SolFuncC *func, SolFuncC allf, void **data)
Set the solve routine and the associated data for A-SIGMA*B if func == NULL, set all functions to be ...
timing and memory statistics of EVSL
int SetAMatvec(int n, MVFunc func, void *data)
Set the user-input matvec routine and the associated data for A. Save them in evsldata.
user-provided Mat-Vec function and data for y = A * x or y = B * x
double evsl_timer()
evsl timer for mac
parameters for rational filter