public interface simps
Integrates sampled values using Simpson's rule
(Specification)
Functions
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=dp),
|
intent(in), |
|
dimension(:)
|
:: |
y |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
dx |
|
integer,
|
intent(in), |
optional |
|
:: |
even |
|
Return Value
real(kind=dp)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=sp),
|
intent(in), |
|
dimension(:)
|
:: |
y |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
dx |
|
integer,
|
intent(in), |
optional |
|
:: |
even |
|
Return Value
real(kind=sp)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=dp),
|
intent(in), |
|
dimension(:)
|
:: |
y |
|
real(kind=dp),
|
intent(in), |
|
dimension(:)
|
:: |
x |
|
integer,
|
intent(in), |
optional |
|
:: |
even |
|
Return Value
real(kind=dp)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=sp),
|
intent(in), |
|
dimension(:)
|
:: |
y |
|
real(kind=sp),
|
intent(in), |
|
dimension(:)
|
:: |
x |
|
integer,
|
intent(in), |
optional |
|
:: |
even |
|
Return Value
real(kind=sp)