{"id":1555,"date":"2020-06-01T10:20:29","date_gmt":"2020-06-01T09:20:29","guid":{"rendered":"http:\/\/blog.briang.org\/?p=1555"},"modified":"2020-09-11T22:27:08","modified_gmt":"2020-09-11T21:27:08","slug":"short-survey-of-modules-for-combinations-and-permutations","status":"publish","type":"post","link":"https:\/\/blog.briang.org\/?p=1555","title":{"rendered":"Short survey of [perl] modules for combinations and permutations"},"content":{"rendered":"<p><a href=\"http:\/\/blogs.perl.org\/users\/dana_jacobsen\/2015\/02\/short-survey-of-modules-for-combinations-and-permutations.html\"><strong>Short survey of modules for combinations and permutations<\/strong><\/a><\/p>\n<blockquote><p>This is a short look at some modules for generating combinations and permutations. There are likely more modules that aren&#8217;t listed. RosettaCode has examples of writing the combinations and permutations functions by hand.<\/p><\/blockquote>\n<p>TL;DR: Just use <a href=\"https:\/\/metacpan.org\/pod\/Algorithm::Combinatorics\">Algorithm::Combinatorics<\/a> (full-featured, xs).<\/p>\n<p>Article dates back to 2015, but it&#8217;s still useful (IMHO).<\/p>\n<p>See also <a href=\"https:\/\/metacpan.org\/pod\/Acme::CPANModules::Import::CombinationsAndPermutations\">Acme::CPANModules::Import::CombinationsAndPermutations<\/a> by PERLANCAR<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Short survey of modules for combinations and permutations This is a short look at some modules for generating combinations and permutations. There are likely more modules that aren&#8217;t listed. RosettaCode has examples of writing the combinations and permutations functions by hand. TL;DR: Just use Algorithm::Combinatorics (full-featured, xs). Article dates back to 2015, but it&#8217;s still [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[520,516,518,519,5,517],"class_list":["post-1555","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-authorperlancar","tag-combinations","tag-combinatronics","tag-cpanalgorithm-combinatorics","tag-perl","tag-permutations"],"_links":{"self":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1555"}],"version-history":[{"count":4,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1555\/revisions"}],"predecessor-version":[{"id":1579,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1555\/revisions\/1579"}],"wp:attachment":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}