文件名称:cmbn
介绍说明--下载内容均来自于网络,请自行研究使用
A RUBY class for generating n-element combinatatorials of any m elements (indexed by [0,1,...m-1]): C(m, n)
To test, first uncomment the test block. Then run:
>ruby cmbn.rb 7 4 ==> C(7, 4)
or
>ruby cmbn.rb 7 ==> {C(7,0), C(7,1), ..., C(7,7)}
To test, first uncomment the test block. Then run:
>ruby cmbn.rb 7 4 ==> C(7, 4)
or
>ruby cmbn.rb 7 ==> {C(7,0), C(7,1), ..., C(7,7)}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cmbn.rb