This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

This example shows how to loop all variations for a given number of elements. A "variation" means that elements can be used multiple times (or not at all) and that the order is important ( "a,b" is not "b,a", so it's counted ). given [a, b, c] you'll get: [], [a], [b], [c], [a, a], [a, b], [a, c], [b, a], [b, b], [b, c], [c, a], [c, b], [c, c], [a, a, a], [a, a, b], .., [c, c, b], [c, c, c] fjenett 20090305

Source code: variationSets_2b

Built with Processing