[CF-metadata] physical vs dimensional units
John,
On 04/14/2011 08:09 PM, John Caron wrote:
> Im thinking that ne wants a grammer that allows
>
> "mole <X> / mole" * "mole/ mole <X>" = 1
>
> "mole <X> / mole" * "mole/ mole <Y>"= "mole <X>/ mole <Y>"
>
> and so on.
>
> I wonder if this list could accumulate a list of such examples.
In my opinion, the semantics of such operations would be better handled
by a physical quantities package than a units package. The physical
quantities package could recognize that the physical quantities are
identical in the first example and different in the second and set the
output units accordingly. The UDUNITS package already supports such
operations in a trivial sense: the units are all the dimensionless unit
one, so the operations all result in the dimensionless unit one.
Regards,
Steve
Received on Fri Apr 15 2011 - 10:29:05 BST
This archive was generated by hypermail 2.3.0
: Tue Sep 13 2022 - 23:02:41 BST