[SciPy-dev] Temperature (and other unit) conversions

Adam Curtis adamadamadamamiadam at gmail.com
Tue Dec 19 10:30:57 CST 2006


I think an interesting way too approach unit conversions would be to make 
actual unit classes (for example: a Temperature class), which would inherit 
from float and would keep track of what unit was being used so that it could 
seemlessly convert units together during arithmetic operations of differing 
unit.

The idea could be extended to other areas as well. Thoughts? 



More information about the Scipy-dev mailing list