Method 1 of Hale, Nicholas; Higham, Nicholas J.; Trefethen, Lloyd N. Computing , and related matrix functions by contour integrals. SIAM J. Numer. Anal. 46 (2008), no. 5, 2505--2523.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
procedure(zquadfun), | intent(in), | pointer | :: | zfun | Function to integrate |
|
complex(kind=psb_dpk_), | intent(out), | allocatable, dimension(:) | :: | xi | Poles of the formula |
|
complex(kind=psb_dpk_), | intent(out), | allocatable, dimension(:) | :: | c | Scaling of the formula |
|
real(kind=psb_dpk_), | intent(out) | :: | eta | Global Scaling |
||
real(kind=psb_dpk_), | intent(out) | :: | sign | Sign for A |
||
integer(kind=psb_ipk_), | intent(in) | :: | N | Number of Poles |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Flag on the results |
||
complex(kind=psb_dpk_), | intent(in), | optional | dimension(:) | :: | cparams | Optional complex parameters |
real(kind=psb_dpk_), | intent(in), | optional | dimension(:) | :: | rparams | Optional real parameters |