Differences between revisions 5 and 6
Revision 5 as of 2008-11-14 13:42:10
Size: 732
Editor: anonymous
Comment: converted to 1.6 markup
Revision 6 as of 2022-04-11 03:37:08
Size: 706
Editor: mkoeppe
Comment: not CategoryHomepage
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:

----
CategoryHomepage

Color Me Purple!

Have you ever wondered what a plain "1" is in the output? Is it an integer, mod 5, mod 0, or p-adic -- or possibly a spy from Sydney? Elements of rings should be output in distinct colors so that you can quickly tell the type.

  • Integers -- Black
  • Rationals -- Red
  • Number Field Elements -- Forest Green
  • p-Adic Elements -- RGB(255,255,precision) where precision is the O precision
  • Integer Mod Elements -- RGB(p,255,24) where p is the modulus
  • A spy from Sydney -- Steel Grey
  • Polynomials -- RGB(d,d,d) where d is the degree (Notice that d==0 results in an Integer)
  • Matrices -- Stereograms

days4/projects/colors (last edited 2022-04-11 03:37:08 by mkoeppe)