get_supergroups Function

public pure function get_supergroups(GAS_spec) result(res)

Get the ordered compositions of n into k summands constrained by cumulative minima and maxima.

GAS allowed compositions are called supergroups.

Arguments

Type IntentOptional Attributes Name
class(GASSpec_t), intent(in) :: GAS_spec

Return Value integer, allocatable, (:,:)