trapz_weights Interface

public interface trapz_weights

Integrates sampled values using trapezoidal rule weights for given abscissas (Specification)


Functions

private pure module function trapz_weights_dp(x) result(w)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in), dimension(:) :: x

Return Value real(kind=dp), dimension(size(x))

private pure module function trapz_weights_sp(x) result(w)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in), dimension(:) :: x

Return Value real(kind=sp), dimension(size(x))