integrate Interface

public interface integrate

Module Procedures

private subroutine integrate_1d_func_main(m, fx, xl, xu, ans, tol, method, ierr, err)

Arguments

Type IntentOptional Attributes Name
integer :: m
procedure(f_x) :: fx
real(kind=8), intent(in) :: xl
real(kind=8), intent(in) :: xu
real(kind=8), intent(inout), dimension(m) :: ans
real(kind=8), intent(in), optional :: tol
integer, intent(in), optional :: method
integer, intent(out), optional :: ierr
real(kind=8), intent(out), optional :: err

private subroutine integrate_nd_func_main(m, fxvec, xl, xu, ans, methods, method, tols, tol, ierr, err)

Arguments

Type IntentOptional Attributes Name
integer :: m
procedure(f_xvec) :: fxvec
real(kind=8), intent(in), dimension(:) :: xl
real(kind=8), intent(in), dimension(size(xl)) :: xu
real(kind=8), intent(inout), dimension(m) :: ans
integer, intent(in), optional, dimension(size(xl)) :: methods
integer, intent(in), optional :: method
real(kind=8), intent(in), optional, dimension(size(xl)) :: tols
real(kind=8), intent(in), optional :: tol
integer, intent(out), optional :: ierr
real(kind=8), intent(out), optional :: err

private subroutine integrate_1d_func_1(func, xl, xu, ans, tol, method, ierr, err)

Arguments

Type IntentOptional Attributes Name
private function func(x)
Arguments
Type IntentOptional Attributes Name
real(kind=8) :: x
Return Value real(kind=8)
real(kind=8), intent(in) :: xl
real(kind=8), intent(in) :: xu
real(kind=8), intent(inout) :: ans
real(kind=8), intent(in), optional :: tol
integer, intent(in), optional :: method
integer, intent(out), optional :: ierr
real(kind=8), intent(out), optional :: err

private subroutine integrate_nd_func_1(func, xl, xu, ans, methods, method, tols, tol, ierr, err)

Arguments

Type IntentOptional Attributes Name
private function func(x)
Arguments
Type IntentOptional Attributes Name
real(kind=8), dimension(:) :: x
Return Value real(kind=8)
real(kind=8), intent(in), dimension(:) :: xl
real(kind=8), intent(in), dimension(size(xl)) :: xu
real(kind=8), intent(inout) :: ans
integer, intent(in), optional, dimension(size(xl)) :: methods
integer, intent(in), optional :: method
real(kind=8), intent(in), optional, dimension(size(xl)) :: tols
real(kind=8), intent(in), optional :: tol
integer, intent(out), optional :: ierr
real(kind=8), intent(out), optional :: err

private subroutine integrate_1d_sample(fsample, xl, xu, ans, tol, method, ierr, err)

Arguments

Type IntentOptional Attributes Name
real(kind=8), dimension(:) :: fsample
real(kind=8), intent(in) :: xl
real(kind=8), intent(in) :: xu
real(kind=8), intent(inout) :: ans
real(kind=8), intent(in), optional :: tol
integer, intent(in), optional :: method
integer, intent(out), optional :: ierr
real(kind=8), intent(out), optional :: err

private subroutine integrate_2d_sample(fsample, xl, xu, ans, methods, method, tols, tol, ierr, err)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(in), dimension(:,:) :: fsample
real(kind=8), intent(in), dimension(:) :: xl
real(kind=8), intent(in), dimension(size(xl)) :: xu
real(kind=8), intent(inout) :: ans
integer, intent(in), optional, dimension(size(xl)) :: methods
integer, intent(in), optional :: method
real(kind=8), intent(in), optional, dimension(size(xl)) :: tols
real(kind=8), intent(in), optional :: tol
integer, intent(out), optional :: ierr
real(kind=8), intent(out), optional :: err