Boost logo

Boost :

From: Dan W. (danw_at_[hidden])
Date: 2004-01-09 02:57:05


Andy Little wrote:
> my lib makes a point of not changing si OR non-si units unnecessarily during
> addition.

Good!

I also have another argument why the dimensional power type should be a
template plug-in:

        e^(-j*pi) = 1.0

There may be situations where irrational and imaginary powers are
needed, even when the final result is intended to be every-day
quantities. Complex powers are not unfathomable.

And another argument for why the numeric representation should be a
template plug-in: In analog filter equations and digital signal
processing it is common to use complex numbers in voltage or current units.
  Impedance == "complex resistance".

Cheers!


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