simps_weights Interface

public interface simps_weights

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


Functions

private pure recursive module function simps_weights_dp(x, even) result(w)

Arguments

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

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

private pure recursive module function simps_weights_sp(x, even) result(w)

Arguments

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

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