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


_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to