NTPoly
Public Member Functions | List of all members
NTPoly::ChebyshevPolynomial Class Reference

A Class For Computing Matrix functions based on Chebyshev polynomials. More...

#include <ChebyshevSolvers.h>

Inheritance diagram for NTPoly::ChebyshevPolynomial:
NTPoly::SolverBase

Public Member Functions

 ChebyshevPolynomial (int degree)
 
void SetCoefficient (int degree, double coefficient)
 
void Compute (const DistributedSparseMatrix &InputMat, DistributedSparseMatrix &OutputMat, const FixedSolverParameters &solver_parameters) const
 
void ComputeFactorized (const DistributedSparseMatrix &InputMat, DistributedSparseMatrix &OutputMat, const FixedSolverParameters &solver_parameters) const
 
 ~ChebyshevPolynomial ()
 Standard destructor.
 

Additional Inherited Members

- Static Protected Member Functions inherited from NTPoly::SolverBase
static const int * GetIH (const DistributedSparseMatrix &dsm)
 
static int * GetIH (DistributedSparseMatrix &dsm)
 
static const int * GetIH (const IterativeSolverParameters &csp)
 
static int * GetIH (IterativeSolverParameters &csp)
 
static const int * GetIH (const FixedSolverParameters &csp)
 
static int * GetIH (FixedSolverParameters &csp)
 

Detailed Description

A Class For Computing Matrix functions based on Chebyshev polynomials.

Constructor & Destructor Documentation

◆ ChebyshevPolynomial()

NTPoly::ChebyshevPolynomial::ChebyshevPolynomial ( int  degree)

Basic constructor.

Parameters
degreeof the polynomial.

Member Function Documentation

◆ Compute()

void NTPoly::ChebyshevPolynomial::Compute ( const DistributedSparseMatrix InputMat,
DistributedSparseMatrix OutputMat,
const FixedSolverParameters solver_parameters 
) const

Compute A Matrix Chebyshev Polynomial.

Parameters
InputMatinput matrix.
OutputMat= p(InputMat)
solver_parametersparameters for the solver

◆ ComputeFactorized()

void NTPoly::ChebyshevPolynomial::ComputeFactorized ( const DistributedSparseMatrix InputMat,
DistributedSparseMatrix OutputMat,
const FixedSolverParameters solver_parameters 
) const

Compute A Matrix Chebyshev Polynomial Recursively.

Parameters
InputMatinput matrix.
OutputMat= p(InputMat)
solver_parametersparameters for the solver

◆ SetCoefficient()

void NTPoly::ChebyshevPolynomial::SetCoefficient ( int  degree,
double  coefficient 
)

Set a polynomial coefficient.

Parameters
degreefor which to set the coefficient.
coefficientvalue.

The documentation for this class was generated from the following files: