get_supergroups Function

public pure function get_supergroups(GAS_spec, N) 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
integer, intent(in) :: N

Return Value integer, allocatable, (:,:)


Contents