thue_morse 0.1.1

A library for generating Thue-Morse number sequences for different bases. You can also specifically create evil numbers and odious numbers.
Documentation
  • Coverage
  • 0%
    0 out of 10 items documented0 out of 9 items with examples
  • Size
  • Source code size: 21.09 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 842.86 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • AustinHellerRepo/thue_morse
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • AustinHellerRepo

thue_morse

A library for calculating the Thue-Morse sequence number given a specific index. You can also specifically create evil numbers and odious numbers.

Usage

Create a ThueMorseProvider for a specific base and then a ThueMorseIterator can be created from that instance using the into_iter function. Create an EvilNumberIterator or OdiousNumberIterator instance to generate evil numbers or odious numbers respectively.