2013å¹´03æ08æ¥11:00 ã«ãã´ãªã¢ã«ã´ãªãºã ç¾é¸Math Algorithm - é åã®åªéåãé åãçµã¿åãããå帰ãªãã§ä½ã Cè¨èªã«ããææ°ã¢ã«ã´ãªãºã äºå ¸ 奥ææ´å½¦ ã¡ãã£ã¨å¿ è¦ã«è¿«ãããã®ã§ãJavaScriptç¨ã®ãã¤ãä½ãã¾ããã dankogai/js-combinatorics ã» GitHub ãããªæãã§ä½¿ãã¾ãã var a = ['js', 'pl', 'py', 'rb'], c, e; p( '/* power set */' ); c = Combinatorics.power(a); p( 0 + c ); while (e = c.next()) p(JSON.stringify(e)); p( '/* combination */' ); c = Combinatorics.combination(a, 3); p( 0 + c ); p(J
{{#tags}}- {{label}}
{{/tags}}