A module for computing matrix functions based on Hermite polynomials.
Construct a Hermite polynomial object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(HermitePolynomial_t), | intent(inout) | :: | this |
The polynomial to construct. |
||
integer, | intent(in) | :: | degree |
The degree of the polynomial. |
Destruct a Hermite polynomial object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(HermitePolynomial_t), | intent(inout) | :: | this |
The polynomial to destruct. |
Set a coefficient of a Hermite polynomial.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(HermitePolynomial_t), | intent(inout) | :: | this |
The polynomial to set. |
||
integer, | intent(in) | :: | degree |
The degree for which to set the coefficient. |
||
real(kind=NTREAL), | intent(in) | :: | coefficient |
Coefficient value to set. |
Compute The Hermite Polynomial of the matrix. This method uses the standard Hermite Polynomial expansion.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | InputMat |
The input matrix. |
||
type(Matrix_ps), | intent(inout) | :: | OutputMat |
OutputMat = poly(InputMat) |
||
type(HermitePolynomial_t), | intent(in) | :: | poly |
Polynomial to compute. |
||
type(SolverParameters_t), | intent(in), | optional | :: | solver_parameters_in |
Parameters for the solver |
A datatype that represents a Hermite polynomial.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=NTREAL), | public, | DIMENSION(:), ALLOCATABLE | :: | coefficients |
Coefficients of the polynomial. |