trapz Interface

public interface trapz

Integrates sampled values using trapezoidal rule (Specification)


Contents


Functions

public pure function trapz_dx_dp(y, dx) result(integral)

Arguments

Type IntentOptional AttributesName
real(kind=dp), intent(in), dimension(:):: y
real(kind=dp), intent(in) :: dx

Return Value real(kind=dp)

public pure function trapz_dx_qp(y, dx) result(integral)

Arguments

Type IntentOptional AttributesName
real(kind=qp), intent(in), dimension(:):: y
real(kind=qp), intent(in) :: dx

Return Value real(kind=qp)

public pure function trapz_dx_sp(y, dx) result(integral)

Arguments

Type IntentOptional AttributesName
real(kind=sp), intent(in), dimension(:):: y
real(kind=sp), intent(in) :: dx

Return Value real(kind=sp)

public function trapz_x_dp(y, x) result(integral)

Arguments

Type IntentOptional AttributesName
real(kind=dp), intent(in), dimension(:):: y
real(kind=dp), intent(in), dimension(:):: x

Return Value real(kind=dp)

public function trapz_x_qp(y, x) result(integral)

Arguments

Type IntentOptional AttributesName
real(kind=qp), intent(in), dimension(:):: y
real(kind=qp), intent(in), dimension(:):: x

Return Value real(kind=qp)

public function trapz_x_sp(y, x) result(integral)

Arguments

Type IntentOptional AttributesName
real(kind=sp), intent(in), dimension(:):: y
real(kind=sp), intent(in), dimension(:):: x

Return Value real(kind=sp)