intersection Interface

public interface intersection

Compute the intersection of two sets


Contents


Module Procedures

public function intersection_int(A, B) result(inters)

Arguments

Type IntentOptional AttributesName
integer, intent(in), dimension(:):: A

set A

integer, intent(in), dimension(:):: B

set B

Return Value integer, dimension(:), allocatable

public function intersection_r32(A, B) result(inters)

Arguments

Type IntentOptional AttributesName
real(kind=real32), intent(in), dimension(:):: A

set A

real(kind=real32), intent(in), dimension(:):: B

set B

Return Value real(kind=real32), dimension(:), allocatable

public function intersection_r64(A, B) result(inters)

Arguments

Type IntentOptional AttributesName
real(kind=real64), intent(in), dimension(:):: A

set A

real(kind=real64), intent(in), dimension(:):: B

set B

Return Value real(kind=real64), dimension(:), allocatable