Combinatorics
#######################

Example that demonstrates how to compute all the combinations and permutations of a set. Each variant is printed. See
example output below.

:gitexample:`ExampleCombinatorics.java`

.. literalinclude:: ../../examples/src/org/ddogleg/example/ExampleCombinatorics.java
   :language: java
   :linenos:
   :start-after: public class
   :tab-width: 4
   :dedent: 4

Output:

.. literalinclude:: example_output/combinatorics.txt
