[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.8.3 General Functions

2F099 U>NCQ ( u → n%% cf%% qhxs )
Returns the number, conversion factor to base units and a vector in the form:
[ kg m A s K cd mol r sr ? ]
where each element represents the exponent of that unit. For example, 1_N U>NCQ would return:
%%1 %%1 [ 1 1 0 -2 0 0 0 0 0 0 ]
since it is equivalent to 1_kg*m/s^2
2F07A UM>U ( % u → u' )
Replaces number part of unit.
2F08C UMCONV ( u1 u2 → u1' )
Change units of unit1 to units of unit2.
2F090 UMSI ( u → u' )
Equivalent to user word UBASE.
2F095 UMU> ( u → % u' )
Returns number and normalized part of unit.
2F019 UNIT>$ ( u → $ )
Converts unit to string.
3900B (UMFACT) ( u1 u2 → u )
Equivalent to user word UFACT.
2F07B U>nbr ( u → % )
Returns number part of unit.
2F098 Unbr>U ( u % → u' )
Replaces number part of unit.
2F09A TempConv ???
Used by UMCONV for the conversion of temperature units.
25EE4 KeepUnit ( % ob ob' → % ob )
( % ob u → u' ob )
If the level one object is a unit object, replaces the numeric part of it with the number on level 3. If not, just DROP.



This document was generated by Carsten Dominik on May, 30 2005 using texi2html