Skip to content

Latest commit

 

History

88 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parmigiano

This library does finite permutations in Java.

Cycle based

Permutation.cycle(0, 1).apply(List.of("a", "b", "c"));
// => ["b", "a", "c"]

Composition

Permutation.cycle(0, 1).compose(2, 3);
// => (0 1) (2 3)

Getting all permutations of 5 Elements

Permutation.symmetricGroup(5).count();
// => 120

Permutation group:

About

Finite permutations for Java

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages