Toggle navigation
NECI
Documentation
Contents
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Program
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Program
get_permutations
Function
26 statements
Source File
util_mod.F90
util_mod
get_permutations
Contents
public pure function get_permutations(n) result(res)
@brief Create all possible permutations of [1, …, n]
Arguments
Type
Intent
Optional
Attributes
Name
integer,
intent(in)
::
n
Return Value
integer, (n,factrl(n))
Contents