- Timestamp:
- Mar 14, 2017, 5:25:58 PM (6 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- 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.