Calculates the intersection of two arrays.
More...
Calculates the intersection of two arrays.
Definition at line 323 of file lists.f90.
subroutine lists::list_itersection::list_intersection_intg_array |
( |
integer(intg), dimension(:), intent(in), target |
A, |
|
|
integer(intg), dimension(:), intent(in), target |
B, |
|
|
integer(intg), dimension(:), intent(out), allocatable |
C, |
|
|
integer(intg), intent(out) |
ERR, |
|
|
type(varying_string), intent(out) |
ERROR |
|
) |
| |
|
private |
Finds the intersection of two sets (arrays), leaving the original arrays intact.
- Parameters
-
[in] | a | One of the two arrays to find the intersection for |
[in] | b | Other array to find the intersection for |
[out] | c | On exit, contains the list of common elements of the arrays |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 4639 of file lists.f90.