axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Unit package question


From: William Sit
Subject: Re: [Axiom-developer] Unit package question
Date: Tue, 23 Aug 2005 18:46:30 -0400


William Sit wrote:
> For example, if "us"
> represents a value s with dimension "Force", and one wants to output "Force" 
> in
> lb cm/hr^2, then one can have (syntax of Axiom need not be correct):
> 
>    coerce(us:MyUnitSystemDomain)==
>      ...
>      (dimension(us) case "Force") =>
>         factor := ...
>         hconcat(value(us)*factor::OutputForm, "lb cm/hr^2"::OutputForm)
>      ...

Correction: the unit of Force should be slug cm /hr^2 in the above example. lb
is already a unit of force in the US system.

William




reply via email to

[Prev in Thread] Current Thread [Next in Thread]