Compute A Matrix Polynomial Using The Paterson and Stockmeyer method. This method first factors the polynomial to reduce the number of matrix multiplies required.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | InputMat |
The input matrix |
||
type(Matrix_ps), | intent(inout) | :: | OutputMat |
OutputMat = poly(InputMat) |
||
type(Polynomial_t), | intent(in) | :: | poly |
The polynomial to compute. |
||
type(SolverParameters_t), | intent(in), | optional | :: | solver_parameters_in |
Parameters for the solver. |