471,350 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

version 1.4 of scalar class released

Version 1.4 of my scalar class is available at

http://RussP.us/scalar.htm

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
0 816

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by John Hunter | last post: by
12 posts views Thread by Simula | last post: by
4 posts views Thread by al havrilla | last post: by
7 posts views Thread by | last post: by
5 posts views Thread by Eli | last post: by
15 posts views Thread by bg_ie | last post: by
4 posts views Thread by Thelma Roslyn Lubkin | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.