Boost logo

Boost :

From: Walter Landry (wlandry_at_[hidden])
Date: 2003-12-10 07:59:39


Matthias Schabel <boost_at_[hidden]> wrote:
> > Two questions:
> > 1) What about something like Radians? I.e.: not strictly a physical
> > dimension, yet which under normal circumstances should not be used
> > like
> > x = 5 radians;
> > y = sin(x) + x; //>:-0
>
> I haven't completely decided what to do about angles. At the moment I
> include radians and steradians with the SI unit system,
> simply because in practice they are often used in conjunction. I
> haven't put in degrees or gradians because I have no use for them,
> but it should be easy to do.

Maybe it is just me, but radians and steradians are really just
numbers. The example above is a completely reasonable thing to do.
The equation (y=sin(x) + x ) is a textbook example for minimization
problems.

Degrees and gradians, on the other hand, definitly have units.

Regards,
Walter Landry
wlandry_at_[hidden]


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