summaryrefslogtreecommitdiff
path: root/print_digit_map.go
AgeCommit message (Collapse)Author
2023-11-12Add per-file copyright notices & contact infoAdrien Hopkins
This is the safest thing to do to ensure my software is free while avoiding legal trouble ... hopefully, I'm not a lawyer!
2023-09-15Forbid -d when digit map cannot be shownAdrien Hopkins
-d shows only the digit map and nothing else, so if the digit map cannot be shown (e.g. radices above 36 without -f), it makes sense to forbid this rather than print an empty string.
2023-09-04Increase detail of digit map neighboursAdrien Hopkins
It now distinguishes between omega (factors of r - 1), alpha (factors of r + 1) and the rest. The previous categorization determined whether or not totatives and semitotatives have simple patterns; this new categorization determines which simple patterns they follow)
2023-08-30Add compact displayAdrien Hopkins
2023-08-30Extract factor info into separate structAdrien Hopkins
This achieves two things: - Decouples my code by putting the printing code into its own file - Makes it easier to make alternate ways of printing (e.g. a compact mode)
2023-08-30Add colours to digit map outputAdrien Hopkins
2023-08-30Print digit map to stdoutAdrien Hopkins