ScalES-PPM
Private Member Functions | List of all members
ppm_combinatorics::is_permutation Interface Reference

establish whether an array is a permutation of another array or a range More...

Private Member Functions

pure logical function is_permutation_of_range_i4 (a, r)
 establish whether one array of integers is a permutation of a range More...
 
pure logical function is_permutation_of_array_i4 (a, b)
 establish whether one array of integers is a permutation of another More...
 

Detailed Description

establish whether an array is a permutation of another array or a range

Member Function/Subroutine Documentation

◆ is_permutation_of_array_i4()

pure logical function ppm_combinatorics::is_permutation::is_permutation_of_array_i4 ( integer(i4), dimension(:), intent(in)  a,
integer(i4), dimension(:), intent(in)  b 
)
private

establish whether one array of integers is a permutation of another

Parameters
afirst array
bsecond array
Returns
.TRUE. if a is permutation of b

◆ is_permutation_of_range_i4()

pure logical function ppm_combinatorics::is_permutation::is_permutation_of_range_i4 ( integer(i4), dimension(:), intent(in)  a,
type(iinterval), intent(in)  r 
)
private

establish whether one array of integers is a permutation of a range

Parameters
aarray
rrange
Returns
.TRUE. if a is permutation of r, .FALSE. if not

The documentation for this interface was generated from the following file:

Das diesem Bericht zugrundeliegende Vorhaben wurde mit Mitteln des Bundesministeriums für Bildung, und Forschung unter dem Förderkennzeichen 01IH08004E gefördert. Die Verantwortung für den Inhalt dieser Veröffentlichung liegt beim Autor.