given a list of combinations k out of n this subroutine returns the complement combinations
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n | |||
integer, | intent(in) | :: | k | |||
integer, | intent(in) | :: | combinations(:,:) | |||
integer, | intent(out), | allocatable | :: | complement(:,:) |