EVSL  1.1.0
EigenValues Slicing Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Typedefs | Variables
struct.h File Reference

structs used in evsl More...

#include <complex.h>
#include <stddef.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _cooMat
 sparse matrix format: the coordinate (COO) format, 0-based More...
 
struct  _csrMat
 sparse matrix format: the compressed sparse row (CSR) format, 0-based More...
 
struct  _polparams
 parameters for polynomial filter More...
 
struct  _EVSLASIGMABSol
 user-provided function and data for solving (A - SIGMA*B) x = b More...
 
struct  _ratparams
 parameters for rational filter More...
 
struct  _EVSLMatvec
 user-provided Mat-Vec function and data for y = A * x or y = B * x More...
 
struct  _EVSLBSol
 user-provided function and data for solving B x = b More...
 
struct  _EVSLLTSol
 user-provided function for solving L^{T} x = b More...
 
struct  _evsldata
 wrapper of all global variables in EVSL More...
 
struct  _BSolDataPol
 
struct  _evslstat
 timing and memory statistics of EVSL More...
 

Typedefs

typedef struct _cooMat cooMat
 sparse matrix format: the coordinate (COO) format, 0-based More...
 
typedef struct _csrMat csrMat
 sparse matrix format: the compressed sparse row (CSR) format, 0-based More...
 
typedef struct _polparams polparams
 parameters for polynomial filter More...
 
typedef 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 is the size of the system, br, bz are the right-hand side (real and imaginary parts of complex vector), xr, xz will be the solution (complex vector), and "data" contains all the data needed by the solver. More...
 
typedef void(* SolFuncR )(double *b, double *x, void *data)
 function prototype for applying the solve B x = b More...
 
typedef void(* MVFunc )(double *x, double *y, void *data)
 matvec function prototype More...
 
typedef struct _EVSLASIGMABSol EVSLASIGMABSol
 user-provided function and data for solving (A - SIGMA*B) x = b More...
 
typedef struct _ratparams ratparams
 parameters for rational filter More...
 
typedef struct _EVSLMatvec EVSLMatvec
 user-provided Mat-Vec function and data for y = A * x or y = B * x More...
 
typedef struct _EVSLBSol EVSLBSol
 user-provided function and data for solving B x = b More...
 
typedef struct _EVSLLTSol EVSLLTSol
 user-provided function for solving L^{T} x = b More...
 
typedef struct _evsldata evslData
 wrapper of all global variables in EVSL More...
 
typedef struct _BSolDataPol BSolDataPol
 
typedef struct _evslstat evslStat
 timing and memory statistics of EVSL More...
 

Variables

evslData evsldata
 global variable of EVSL More...
 
evslStat evslstat
 global statistics of EVSL More...
 

Detailed Description

structs used in evsl

Definition in file struct.h.

Typedef Documentation

typedef struct _BSolDataPol BSolDataPol
typedef struct _cooMat cooMat

sparse matrix format: the coordinate (COO) format, 0-based

ir, jc, vv : triples for all nonzeros (of size nnz)

typedef struct _csrMat csrMat

sparse matrix format: the compressed sparse row (CSR) format, 0-based

3-array variant: ia,ja,a, nnz == ia[nrows]

user-provided function and data for solving (A - SIGMA*B) x = b

typedef struct _EVSLBSol EVSLBSol

user-provided function and data for solving B x = b

typedef struct _evsldata evslData

wrapper of all global variables in EVSL

typedef struct _EVSLLTSol EVSLLTSol

user-provided function for solving L^{T} x = b

typedef struct _EVSLMatvec EVSLMatvec

user-provided Mat-Vec function and data for y = A * x or y = B * x

typedef struct _evslstat evslStat

timing and memory statistics of EVSL

typedef void(* MVFunc)(double *x, double *y, void *data)

matvec function prototype

Definition at line 96 of file struct.h.

typedef struct _polparams polparams

parameters for polynomial filter

default values are set by set_pol_def

typedef struct _ratparams ratparams

parameters for rational filter

default values are set by set_rat_def

typedef 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 is the size of the system, br, bz are the right-hand side (real and imaginary parts of complex vector), xr, xz will be the solution (complex vector), and "data" contains all the data needed by the solver.

Definition at line 86 of file struct.h.

typedef void(* SolFuncR)(double *b, double *x, void *data)

function prototype for applying the solve B x = b

Definition at line 91 of file struct.h.

Variable Documentation

evslData evsldata

global variable of EVSL

global variable is guaranteed to be initialized

Definition at line 15 of file evsl.c.

Referenced by ChebAv(), ChebLanNr(), ChebLanTr(), ChebSI(), evsl_cheblannr(), evsl_cheblantr(), evsl_lanbounds(), evsl_ratlannr(), evsl_ratlantr(), kpmdos(), LanBounds(), LanDos(), LanDosG(), LanTrbounds(), pnav(), RatFiltApply(), RatLanNr(), and RatLanTr().

evslStat evslstat

global statistics of EVSL

global variable is guaranteed to be initialized

Definition at line 21 of file evsl.c.

Referenced by CGS_DGKS(), CGS_DGKS2(), ChebAv(), ChebLanNr(), ChebLanTr(), RatFiltApply(), RatLanNr(), RatLanTr(), SetupASIGMABSolDirect(), SetupBSolDirect(), StatsPrint(), StatsReset(), SymEigenSolver(), SymmTridEig(), and SymmTridEigS().