|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
quanta.exp - Function
1.5.1 exponential of quantity
Description
exp gives exponential value of dimensionless quantity
Arguments
Inputs |
| ||
v |
| dimensionless quantity
| |
| allowed: | any |
|
| Default: | variant |
|
record
Example
"""
#
print "\t----\t exp Ex 1 \t----"
print qa.exp(’2’)
#{’value’: 7.3890560989306504, ’unit’: ’’}
try:
print qa.exp(’2m’)
except Exception, e:
print "Caught an expected exception", e
#Caught an expected exception Quantum::exp illegal unit type ’m’
#
"""
__________________________________________________________________
More information about CASA may be found at the
CASA web page
Copyright © 2016 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