OpenCMISS-Iron Internal API Documentation
lists::list_itersection Interface Reference

Calculates the intersection of two arrays. More...

Private Member Functions

subroutine list_intersection_intg_array (A, B, C, ERR, ERROR,)
 Finds the intersection of two sets (arrays), leaving the original arrays intact. More...
 

Detailed Description

Calculates the intersection of two arrays.

Definition at line 323 of file lists.f90.

Member Function/Subroutine Documentation

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]aOne of the two arrays to find the intersection for
[in]bOther array to find the intersection for
[out]cOn exit, contains the list of common elements of the arrays
[out]errThe error code
[out]errorThe error string

Definition at line 4639 of file lists.f90.