Boost logo

Boost :

From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2001-07-03 12:59:43

> -----Original Message-----
> From: Deane_Yang_at_[hidden] [mailto:Deane_Yang_at_[hidden]]
> Sent: Thursday, June 28, 2001 6:23 PM
> To: boost_at_[hidden]
> Subject: [boost] Re: Units (and operators.hpp, too)

> 3) Transcendental functions
> Any standard transcendental function, such as sin, cos, exp, log,
> MUST take only unitless quantities and return unitless quantities.

Have I missed something in that log and antilog (exp), sin & sin-1 ... are

so if you log(length) the units are somehow hidden (* unity length doesn't
seem quite right)

But if you then antilog(log(length)) you really do get get back to something
that really does have unit of length.
(Similarly for sin and its inverse).

So the information about length _could_ usefully be retained through the log
(etc) process.

How and whether this is feasible is not clear to me.


Dr Paul A Bristow, hetp Chromatography
Prizet Farmhouse
Kendal, Cumbria
+44 1539 561830

Boost list run by bdawes at, gregod at, cpdaniel at, john at