Boost logo

Boost :

From: Andy Little (andy_at_[hidden])
Date: 2004-01-11 18:55:31


"Phil Richards" <news_at_[hidden]> wrote in message
news:20040111204312.1985D8C016_at_derisoft.derived-software.demon.co.uk...
> On Sun, 11 Jan 2004 13:56:16 -0500, Deane Yang wrote:
> > You have a different definition of a "units" library than I do. The
units
> > library I have in mind automatically derives the correct output units
from
> > the input units. So if you divide meters by seconds, you get a derived
> > unit corresponding to meters per second. In other words, dimensional
> > analysis IS used to figure out the right units.
>
> My reply is those who have posted saying "You don't need to all this
> complicated dimensional analysis stuff - just build a units library then
> add dimensional analysis on top". I don't believe it can be done that way
> round - which I think is what you are saying too. I believe (and have
> kept saying) that a units library must incorporate dimensional analysis in
> order to be useful. Others didn't appear (to me) to have that view.
> Maybe I was confused.

(ssh ... They're mathematicians Phil. Don't like 3D bumps appearing ;-) )

BTW have you/boost any compile-time Rational code you want to share?
Suppose I better try it ;-)

regards
Andy Little


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk