public interface diff
diff
computes differences of arrays.
(Specification)
Functions
private pure module function diff_1_dp(x, n) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
real(kind=dp), |
intent(in), |
|
dimension(:) | :: |
x | |
integer, |
intent(in), |
optional |
| :: |
n | |
Return Value real(kind=dp),
dimension(:), allocatable
private pure module function diff_1_int16(x, n) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
integer(kind=int16), |
intent(in), |
|
dimension(:) | :: |
x | |
integer, |
intent(in), |
optional |
| :: |
n | |
Return Value integer(kind=int16),
dimension(:), allocatable
private pure module function diff_1_int32(x, n) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
integer(kind=int32), |
intent(in), |
|
dimension(:) | :: |
x | |
integer, |
intent(in), |
optional |
| :: |
n | |
Return Value integer(kind=int32),
dimension(:), allocatable
private pure module function diff_1_int64(x, n) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
integer(kind=int64), |
intent(in), |
|
dimension(:) | :: |
x | |
integer, |
intent(in), |
optional |
| :: |
n | |
Return Value integer(kind=int64),
dimension(:), allocatable
private pure module function diff_1_int8(x, n) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
integer(kind=int8), |
intent(in), |
|
dimension(:) | :: |
x | |
integer, |
intent(in), |
optional |
| :: |
n | |
Return Value integer(kind=int8),
dimension(:), allocatable
private pure module function diff_1_sp(x, n) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
real(kind=sp), |
intent(in), |
|
dimension(:) | :: |
x | |
integer, |
intent(in), |
optional |
| :: |
n | |
Return Value real(kind=sp),
dimension(:), allocatable
private pure module function diff_2_dp(A, n, dim) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
real(kind=dp), |
intent(in), |
|
dimension(:, :) | :: |
A | |
integer, |
intent(in), |
optional |
| :: |
n | |
integer, |
intent(in), |
optional |
| :: |
dim | |
Return Value real(kind=dp),
dimension(:, :), allocatable
private pure module function diff_2_int16(A, n, dim) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
integer(kind=int16), |
intent(in), |
|
dimension(:, :) | :: |
A | |
integer, |
intent(in), |
optional |
| :: |
n | |
integer, |
intent(in), |
optional |
| :: |
dim | |
Return Value integer(kind=int16),
dimension(:, :), allocatable
private pure module function diff_2_int32(A, n, dim) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
integer(kind=int32), |
intent(in), |
|
dimension(:, :) | :: |
A | |
integer, |
intent(in), |
optional |
| :: |
n | |
integer, |
intent(in), |
optional |
| :: |
dim | |
Return Value integer(kind=int32),
dimension(:, :), allocatable
private pure module function diff_2_int64(A, n, dim) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
integer(kind=int64), |
intent(in), |
|
dimension(:, :) | :: |
A | |
integer, |
intent(in), |
optional |
| :: |
n | |
integer, |
intent(in), |
optional |
| :: |
dim | |
Return Value integer(kind=int64),
dimension(:, :), allocatable
private pure module function diff_2_int8(A, n, dim) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
integer(kind=int8), |
intent(in), |
|
dimension(:, :) | :: |
A | |
integer, |
intent(in), |
optional |
| :: |
n | |
integer, |
intent(in), |
optional |
| :: |
dim | |
Return Value integer(kind=int8),
dimension(:, :), allocatable
private pure module function diff_2_sp(A, n, dim) result(result)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
real(kind=sp), |
intent(in), |
|
dimension(:, :) | :: |
A | |
integer, |
intent(in), |
optional |
| :: |
n | |
integer, |
intent(in), |
optional |
| :: |
dim | |
Return Value real(kind=sp),
dimension(:, :), allocatable