simps_weights Interface

public interface simps_weights

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


Contents


Functions

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

Arguments

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
real(kind=sp), intent(in), dimension(:):: x
integer, intent(in), optional :: even

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