A Fortran Subroutine to Produce Combinations of n Distinct Things Taken m at a Time
Abstract
A Fortran subroutine to generate all or particular combinations of n things taken m at a time is herein described. The procedure establishes and tabulates a certain one-to-one correspondence between the integers from 1 to (sub n)C(sub m) and the individual combinations of n distinct 'things' taken m at a time, where (sub n)C(sub m) = n over m(n-m). In all cases, the set of 'things' treated by the subroutine is the set of integers (1,...,n).
Document Details
- Document Type
- Technical Report
- Publication Date
- Jul 01, 1971
- Accession Number
- AD0732377
Entities
People
- James P. Grimes
Organizations
- United States Naval Research Laboratory