trotter 0.8.1 copy "trotter: ^0.8.1" to clipboard
trotter: ^0.8.1 copied to clipboard

outdated

Class definitions for pseudo-lists that simplify working with structures commonly encountered in combinatorics such as permutations, combinations and subsets.

Changelog #

0.5.0 #

First Dart release: support for classes:

  • Permutations
  • Combinations
  • Amalgams (permutations with replacement during arranging)
  • Selections (combinations with replacement during arranging)
  • Subsets

0.5.1 #

Improved the documentation; minor bug fixes.

0.8.0 #

  • Added inverses to all the functions so that we can look up arrangements non iteratively (now possible to look up values in arbitrarily large pseudo-lists; this library was incomplete without this functionality!).
  • Made the code more readable. Made a few minor tweaks to the existing code.

0.8.1 #

  • Added the Coumpounds class (permutations of unspecified size).
  • Added the contains method for all classes.
  • Corrected indexOf behaviour for when arrangements that don't exist are passed as arguments; returns -1 if the arrangement is not in the pseudo-list.
63
likes
0
pub points
87%
popularity

Publisher

unverified uploader

Class definitions for pseudo-lists that simplify working with structures commonly encountered in combinatorics such as permutations, combinations and subsets.

Homepage

License

unknown (license)

More

Packages that depend on trotter