Changeset 509acf in git
- Timestamp:
- Mar 14, 2017, 5:25:58 PM (7 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 6e2e7521c312ce51f1fdd9a33f2d3230d49a993b
- Parents:
- eebdf2bc9516d22aa16b4a7f026fece4ca1c59c0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
misc/subsets.cc
reebdf2 r509acf 19 19 } 20 20 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 21 26 BOOLEAN subsets(leftv res, leftv args) 22 27 { … … 65 70 extern "C" int SI_MOD_INIT(customstd)(SModulFunctions* p) 66 71 { 67 p->iiAddCproc(" general.lib","subsets",FALSE,subsets);72 p->iiAddCproc("subsets.so","subsets",FALSE,subsets); 68 73 return (MAX_TOK); 69 74 }
Note: See TracChangeset
for help on using the changeset viewer.