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 Matrix_ps &InputMat, Matrix_ps &OutputMat, const SolverParameters &solver_parameters) const |
void | PatersonStockmeyerCompute (const Matrix_ps &InputMat, Matrix_ps &OutputMat, const SolverParameters &solver_parameters) const |
~Polynomial () | |
Standard destructor. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from NTPoly::SolverBase | |
static const int * | GetIH (const Matrix_ps &dsm) |
static int * | GetIH (Matrix_ps &dsm) |
static const int * | GetIH (const SolverParameters &csp) |
static int * | GetIH (SolverParameters &csp) |
A Class For Computing General Matrix Polynomials.
NTPoly::Polynomial::Polynomial | ( | int | degree | ) |
Basic constructor.
degree | of the polynomial. |
void NTPoly::Polynomial::HornerCompute | ( | const Matrix_ps & | InputMat, |
Matrix_ps & | OutputMat, | ||
const SolverParameters & | 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 Matrix_ps & | InputMat, |
Matrix_ps & | OutputMat, | ||
const SolverParameters & | 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. |