Differences between revisions 4 and 5
Revision 4 as of 2007-06-17 09:10:17
Size: 732
Editor: c-67-170-68-193
Comment:
Revision 5 as of 2008-11-14 13:42:10
Size: 732
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

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


CategoryHomepage

days4/projects/colors (last edited 2008-11-14 13:42:10 by localhost)