diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-29 08:43:59 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-29 08:43:59 +0000 |
| commit | bf2a8104b4c3e5011ba05f549146ecc722c4efaf (patch) | |
| tree | 715aba650bcb5a560ff6a283a755214443321d76 /ChangeLog | |
| parent | ee2c93e8004437cc10ad642439adc11dfae5a0f4 (diff) | |
| download | ruby-bf2a8104b4c3e5011ba05f549146ecc722c4efaf.tar.gz ruby-bf2a8104b4c3e5011ba05f549146ecc722c4efaf.tar.xz ruby-bf2a8104b4c3e5011ba05f549146ecc722c4efaf.zip | |
* array.c (rb_ary_combination): new method to give all combination
of elements from an array. [ruby-list:42671]
* array.c (rb_ary_product): a new method to get all combinations
of elements from two arrays. can be extended to combinations of
n-arrays, e.g. a.product(b,c,d). anyone volunteer?
* array.c (rb_ary_permutation): empty function body to calculate
permutations of array elements. need volunteer.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Sat Sep 29 17:31:04 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * array.c (rb_ary_combination): new method to give all combination + of elements from an array. [ruby-list:42671] + + * array.c (rb_ary_product): a new method to get all combinations + of elements from two arrays. can be extended to combinations of + n-arrays, e.g. a.product(b,c,d). anyone volunteer? + + * array.c (rb_ary_permutation): empty function body to calculate + permutations of array elements. need volunteer. + Sat Sep 29 17:14:44 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * marshal.c (r_leave): move proc invocation from r_entry() to |
