I have in fact been working on a units package for Sage this summer,
based on the DimPy package for Python and am now nearing the end of my
project.

I wasn't expecting to be putting things online for another week or
two, but I've put some preliminary documentation and the current
version of the source code at http://www.inference.phy.cam.ac.uk/dimpy/

The package implements
 - quantities (as numbers with dimensions attached, where dimensions
are the SI units or self-defined non-physical units)
 - many pre-defined units and some physical constants
 - user can define new physical and non-physical units
 - unit conversions (because of the way quantities are set up, units
are purely a way of printing nicely)
 - several different ways of choosing which unit to use (user-
determined, via a look-up register or using a set of base units)
 - vectors and matrices containing quantities with different units
 - a parser that can handle arithmetic and unit conversions using the
unit symbols (e.g. 'm'), full unit names ('meter') with SI prefixes
('cm', 'centimeter') and plurals ('meters')

If I could help in any way, that would be great.

Miriam

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to