xmolecule
Manual
Modules
Block Data
Procedures
Derived Types
Programs
get_combinations
Subroutine
Gnu General Public License V3
30 statements
operations
get_combinations
Contents
public subroutine get_combinations(n, k, combinations)
returns the list of combinations k out of 1..n in lexicographical order
Arguments
Type
Intent
Optional
Attributes
Name
integer
::
n
integer
::
k
integer,
allocatable
::
combinations
(:,:)