|
NTPoly
|
A Class For Computing General Matrix Polynomials. More...
#include <Polynomial.h>
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) |
A Class For Computing General Matrix Polynomials.
| NTPoly::Polynomial::Polynomial | ( | int | degree | ) |
Basic constructor.
| degree | of the polynomial. |
| void NTPoly::Polynomial::HornerCompute | ( | const DistributedSparseMatrix & | InputMat, |
| DistributedSparseMatrix & | OutputMat, | ||
| const FixedSolverParameters & | solver_parameters | ||
| ) | const |
Compute A Matrix Polynomial Using Horner's Method.
| InputMat | input matrix. |
| OutputMat | = p(InputMat) |
| solver_parameters | parameters for the solver |
| void NTPoly::Polynomial::PatersonStockmeyerCompute | ( | const DistributedSparseMatrix & | InputMat, |
| DistributedSparseMatrix & | OutputMat, | ||
| const FixedSolverParameters & | solver_parameters | ||
| ) | const |
Compute A Matrix Polynomial Using Paterson and Stockmeyer's Method.
| InputMat | input matrix. |
| OutputMat | = p(InputMat) |
| solver_parameters | parameters for the solver |
| void NTPoly::Polynomial::SetCoefficient | ( | int | degree, |
| double | coefficient | ||
| ) |
Set a polynomial coefficient.
| degree | for which to set the coefficient. |
| coefficient | value. |
1.8.13