quanta.abs - Function

1.4.1 absolute value of quantity
Description

abs gives absolute value of quantity

Arguments





Inputs

v

value

allowed:

any

Default:

variant

Returns
record

Example

"""  
#  
print "\t----\t abs Ex 1 \t----"  
print qa.abs(’-5km/s’)  
#{’value’: 5.0, ’unit’: ’km/s’}  
#  
"""

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search

Updated daily during alpha development.