public interface trapz
Integrates sampled values using trapezoidal rule
(Specification)
Functions
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=dp),
|
intent(in), |
|
dimension(:)
|
:: |
y |
|
real(kind=dp),
|
intent(in) |
|
|
:: |
dx |
|
Return Value
real(kind=dp)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=sp),
|
intent(in), |
|
dimension(:)
|
:: |
y |
|
real(kind=sp),
|
intent(in) |
|
|
:: |
dx |
|
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 |
|
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 |
|
Return Value
real(kind=sp)