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

A Class For Computing General Matrix Polynomials. More...

#include <Polynomial.h>

Inheritance diagram for NTPoly::Polynomial:
NTPoly::SolverBase

Public Member Functions

 Polynomial (int degree)
 
void SetCoefficient (int degree, double coefficient)
 
void HornerCompute (const DistributedSparseMatrix &InputMat, DistributedSparseMatrix &OutputMat, const FixedSolverParameters &solver_parameters) const
 
void PatersonStockmeyerCompute (const DistributedSparseMatrix &InputMat, DistributedSparseMatrix &OutputMat, const FixedSolverParameters &solver_parameters) const
 
 ~Polynomial ()
 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 General Matrix Polynomials.

Constructor & Destructor Documentation

◆ Polynomial()

NTPoly::Polynomial::Polynomial ( int  degree)

Basic constructor.

Parameters
degreeof the polynomial.

Member Function Documentation

◆ HornerCompute()

void NTPoly::Polynomial::HornerCompute ( const DistributedSparseMatrix InputMat,
DistributedSparseMatrix OutputMat,
const FixedSolverParameters solver_parameters 
) const

Compute A Matrix Polynomial Using Horner's Method.

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

◆ PatersonStockmeyerCompute()

void NTPoly::Polynomial::PatersonStockmeyerCompute ( const DistributedSparseMatrix InputMat,
DistributedSparseMatrix OutputMat,
const FixedSolverParameters solver_parameters 
) const

Compute A Matrix Polynomial Using Paterson and Stockmeyer's Method.

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

◆ SetCoefficient()

void NTPoly::Polynomial::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: