Return the composition for a given composition index
The index is assigned by lexicographically decreasing order.
This function is the inverse of composition_idx
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | k |
|
||
integer, | intent(in) | :: | N |
|
||
integer(kind=int64), | intent(in) | :: | idx |
The composition index. |