[Home] . . . Search by [Problem] [Package] [Module] [Keyword] . . . [Math at NIST]

GAMS Module 515 in TOMS


515

 
COMB: a Fortran subroutine which generates a vector from a lexicographical
index. That is, let C1, C2, ... Cm be the set of combinations of n items taken p at a
time arranged in lexographical order. Given an integer i, this routine finds Ci.
(See B.P. Buckles and M. Lybanon, ACM TOMS 3 (1977) pp. 180-182.).
 
Classes  :  B .  Number theory
            C1 . Integer-valued functions (e.g., factorial, binomial
               coefficient, permutations, combinations, floor, ceiling)
 
Type     : Fortran software in TOMS collection.
Access   : Some uses prohibited. Portable.
Precision: Single.
 
Usage    : CALL COMB (N, P, L, C)
 
Details  : Fullsource
Sites    : (1) NETLIB
 

Implementation of 515 from TOMS on NETLIB

 
NETLIB:    Public access repository, The University of Tennessee at
           Knoxville and Bell Laboratories
 
Precision: Single.
 
You may access components from NETLIB outside GAMS as follows.
 
   Fullsource   : echo "send 515 from toms" | mail netlib@ornl.gov


[Home] . . . Search by [Problem] [Package] [Module] [Keyword] . . . [Math at NIST]

GAMS is a service of the Mathematical and Computational Sciences Division of the Information Technology Laboratory of the National Institute of Standards and Technology

This page was generated on Mon Oct 06, 2008 at 21:27:44 UTC