#9763: Metrology module (a different implementation of the units module)
-----------------------------+----------------------------------------------
Reporter: cousteau | Owner: burcin
Type: enhancement | Status: needs_work
Priority: minor | Milestone: sage-feature
Component: symbolics | Keywords: units, SI, metrology
Work_issues: | Upstream: N/A
Reviewer: Burcin Erocal | Author: Javier Mora
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Comment(by cousteau):
(Apparently I forgot the space before each "*", resulting on a bad
formatting. Since comments cannot be edited, I'll put the points again
here for better readability)
'''Pros'''
* Create units from a text string, including multiples and fractions.
* LaTeX representation of units.
* Abstraction of units, as (value, unit SI value, unit dimmensions),
which allows to know the mass-length-time decomposition of the magnitude.
* `0 * 1m = 0 m`, not just `0`. Also, it's possible to convert from 0
degrees Celsius to Fahrenheit, which is impossible with the current
`units` module.
'''Cons'''
* `Units` is a class written from scratch, with all operations
(`__add__()`, `__mul__()`...) coded explicitly.
* Interoperability with other data types (for example, a matrix of units)
might be messy.
* The `units` module has a pretty nice documentation for each unit, not
present in this module.
* It's very incomplete, missing a lot of units.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9763#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.