Changeset 509acf in git


Ignore:
Timestamp:
Mar 14, 2017, 5:25:58 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
6e2e7521c312ce51f1fdd9a33f2d3230d49a993b
Parents:
eebdf2bc9516d22aa16b4a7f026fece4ca1c59c0
Message:
doc: misc/subsets.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/subsets.cc

    reebdf2 r509acf  
    1919}
    2020
     21// USAGE:  subsets(n,k)  n int, k int
     22// RETURN:  list, a list of lists,
     23//          representing subsets of {1,...,n} of cardinality k
     24// NOTE:    the lists will be sorted lexicographically
     25//          and the elements in each of the lists are sorted naturally
    2126BOOLEAN subsets(leftv res, leftv args)
    2227{
     
    6570extern "C" int SI_MOD_INIT(customstd)(SModulFunctions* p)
    6671{
    67   p->iiAddCproc("general.lib","subsets",FALSE,subsets);
     72  p->iiAddCproc("subsets.so","subsets",FALSE,subsets);
    6873  return (MAX_TOK);
    6974}
Note: See TracChangeset for help on using the changeset viewer.