composition_idx Function

public pure function composition_idx(composition) result(idx)

Return the composition index for a given composition.

The index is assigned by lexicographically decreasing order.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: composition(:)

Return Value integer(kind=int64)


Contents