NTPoly
|
A Module For Computing General Matrix Polynomials. More...
Data Types | |
type | polynomial_t |
A datatype that represents a polynomial. More... | |
Functions/Subroutines | |
pure subroutine, public | constructpolynomial (this, degree) |
Construct a polynomial. More... | |
pure subroutine, public | destructpolynomial (this) |
Destruct a polynomial object. More... | |
subroutine, public | setcoefficient (this, degree, coefficient) |
Set coefficient of a polynomial. More... | |
subroutine, public | hornercompute (InputMat, OutputMat, poly, solver_parameters_in) |
Compute A Matrix Polynomial Using Horner's Method. More... | |
subroutine, public | patersonstockmeyercompute (InputMat, OutputMat, poly, solver_parameters_in) |
Compute A Matrix Polynomial Using Paterson and Stockmeyer's method. This method first factors the polynomial to reduce the number of matrix multiplies required. More... | |
A Module For Computing General Matrix Polynomials.
pure subroutine, public polynomialsolversmodule::constructpolynomial | ( | type(polynomial_t), intent(inout) | this, |
integer, intent(in) | degree | ||
) |
Construct a polynomial.
[in,out] | this | the polynomial to construct. |
[in] | degree | of the polynomial. |
pure subroutine, public polynomialsolversmodule::destructpolynomial | ( | type(polynomial_t), intent(inout) | this | ) |
Destruct a polynomial object.
[in,out] | this | the polynomial to destruct. |
subroutine, public polynomialsolversmodule::hornercompute | ( | type(distributedsparsematrix_t), intent(in) | InputMat, |
type(distributedsparsematrix_t), intent(inout) | OutputMat, | ||
type(polynomial_t), intent(in) | poly, | ||
type(fixedsolverparameters_t), intent(in), optional | solver_parameters_in | ||
) |
Compute A Matrix Polynomial Using Horner's Method.
[in] | InputMat | the input matrix |
[out] | OutputMat | = poly(InputMat) |
[in] | poly | polynomial to compute. |
[in] | solver_parameters_in | parameters for the solver (optional). |
subroutine, public polynomialsolversmodule::patersonstockmeyercompute | ( | type(distributedsparsematrix_t), intent(in) | InputMat, |
type(distributedsparsematrix_t), intent(inout) | OutputMat, | ||
type(polynomial_t), intent(in) | poly, | ||
type(fixedsolverparameters_t), intent(in), optional | solver_parameters_in | ||
) |
Compute A Matrix Polynomial Using Paterson and Stockmeyer's method. This method first factors the polynomial to reduce the number of matrix multiplies required.
[in] | InputMat | the input matrix |
[out] | OutputMat | = poly(InputMat) |
[in] | poly | polynomial to compute. |
[in] | solver_parameters_in | parameters for the solver (optional). |
subroutine, public polynomialsolversmodule::setcoefficient | ( | type(polynomial_t), intent(inout) | this, |
integer, intent(in) | degree, | ||
real(ntreal), intent(in) | coefficient | ||
) |
Set coefficient of a polynomial.
[in,out] | this | the polynomial to set. |
[in] | degree | for which to set the coefficient. |
[in] | coefficient | value. |