trapz Interface

public interface trapz

Module Procedures

private function d_trapz_ab_sample(f, a, b) result(sum)

Arguments

Type IntentOptional Attributes Name
real(kind=8) :: f(:)
real(kind=8) :: a
real(kind=8) :: b

Return Value real(kind=8)

private function c_trapz_ab_sample(f, a, b) result(sum)

Arguments

Type IntentOptional Attributes Name
complex(kind=8) :: f(:)
real(kind=8) :: a
real(kind=8) :: b

Return Value complex(kind=8)

private function d_trapz_dh_sample(f, dh) result(sum)

Arguments

Type IntentOptional Attributes Name
real(kind=8) :: f(:)
real(kind=8) :: dh

Return Value real(kind=8)

private function c_trapz_dh_sample(f, dh) result(sum)

Arguments

Type IntentOptional Attributes Name
complex(kind=8) :: f(:)
real(kind=8) :: dh

Return Value complex(kind=8)

private function d_trapz_nonlin_sample(f, x) result(sum)

Arguments

Type IntentOptional Attributes Name
real(kind=8) :: f(:)
real(kind=8) :: x(size(f))

Return Value real(kind=8)

private function c_trapz_nonlin_sample(f, x) result(sum)

Arguments

Type IntentOptional Attributes Name
complex(kind=8) :: f(:)
real(kind=8) :: x(size(f))

Return Value complex(kind=8)

private function d_trapz_ab_func(f, a, b, N) result(int)

Arguments

Type IntentOptional Attributes Name
private function f(x)
Arguments
Type IntentOptional Attributes Name
real(kind=8) :: x
Return Value real(kind=8)
real(kind=8), optional :: a
real(kind=8), optional :: b
integer, optional :: N

Return Value real(kind=8)

private function c_trapz_ab_func(f, a, b, N) result(int)

Arguments

Type IntentOptional Attributes Name
private function f(x)
Arguments
Type IntentOptional Attributes Name
real(kind=8) :: x
Return Value complex(kind=8)
real(kind=8), optional :: a
real(kind=8), optional :: b
integer, optional :: N

Return Value complex(kind=8)

private function d_trapz_nonlin_func(f, x) result(int)

Arguments

Type IntentOptional Attributes Name
private function f(x)
Arguments
Type IntentOptional Attributes Name
real(kind=8) :: x
Return Value real(kind=8)
real(kind=8), dimension(:) :: x

Return Value real(kind=8)

private function c_trapz_nonlin_func(f, x) result(int)

Arguments

Type IntentOptional Attributes Name
private function f(x)
Arguments
Type IntentOptional Attributes Name
real(kind=8) :: x
Return Value complex(kind=8)
real(kind=8), dimension(:) :: x

Return Value complex(kind=8)