|
Boost : |
From: Andy Little (andy_at_[hidden])
Date: 2006-08-23 07:52:35
"Andy Little" <andy_at_[hidden]> wrote in message news:...
> It could be in Quan, by more querying of the unit and disallowing the
> calculation in this case. At one point Quan (in a previous incarnation) did do
> this, but then maybe there are situations where adding or comparing torque and
> energy is appropriate, so I opted for the freer semantics. If there is a proof
> of some sort that they can never be compared or added then I will change the
> current semantics, but I am not enough of an expert to say for sure.
I should clarify that by a proof I mean a proof that no two dimensionally
equivalent, but different, quantities can ever be added, rather than just torque
and energy. It isnt possible to proceed on a case by case basis as there is an
infinite number of scenarios.
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