Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: quanta.constants - Function Up: quanta - Tool Previous: quanta.checkfreq - Function


quanta.pow - Function



Package general
Module quanta
Tool quanta


raise quantity to power


Synopsis
pow(v, a)


Arguments

v in value
    Allowed: quantity or string
a in power
    Allowed: integer
    Default: 1


Returns
quantity


Description
pow raises a quantity to an integer power



Example
- dq.pow('7.2km/s', -3)
[value=0.00267918, unit=(km/s)-3]





next up previous contents index
Next: quanta.constants - Function Up: quanta - Tool Previous: quanta.checkfreq - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01