hhtmethod1 Interface

public interface hhtmethod1

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.


Contents


Subroutines

public subroutine hhtmethod1(zfun, xi, c, eta, sign, N, info, cparams, rparams)

Arguments

Type IntentOptional AttributesName
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