simps_weights Interface

public interface simps_weights

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


Contents


Functions

public pure recursive function simps_weights_dp(x, even) result(w)

Arguments

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

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

public pure recursive function simps_weights_qp(x, even) result(w)

Arguments

Type IntentOptional AttributesName
real(kind=qp), intent(in), dimension(:):: x
integer, intent(in), optional :: even

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

public pure recursive function simps_weights_sp(x, even) result(w)

Arguments

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

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