By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,218 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,218 IT Pros & Developers. It's quick & easy.

version 1.4 of scalar class released

P: n/a
Version 1.4 of my scalar class is available at

No major changes. I have corrected the "repr" function to make it more
useful, and I have added a "unit_type" function that returns the type
of a unit (e.g., time, length, force). The unit_type function is
intended mainly for interactive, "calculator-style" use.

If you do scientific or engineering calculations or programming,
please check out my scalar class. I think you'll like it.

It will relieve you of the burden of keeping track of units ("darn, I
can't remember if that angle is in radians or degrees?"). And the
really nifty thing about it is that, when you want high execution
speed for production runs, you can easily switch off the units with a
simple change of the import line. All the unit objects will then be
replaced with bulit-in types (typically floats), and your output will
be unchanged, but you will notice a dramatic speedup.

A complete user guide is available in both pdf and html formats. Give
it a try and let me know what you think!

--Russ P.

Oct 18 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.