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.compare - Function Up: quanta - Tool Previous: quanta.exp - Function


quanta.sqrt - Function



Package general
Module quanta
Tool quanta


square root of quantity


Synopsis
sqrt(v)


Arguments

v in value
    Allowed: dimensionless quantity or string


Returns
quantity


Description
sqrt gives square root of quantity with only even powered dimensions



Example
- dq.sqrt('2m2')
[value=1.41421356, unit=m] 
- dq.sqrt('2s')
SEVERE: Caught an exception! Event type=run exception=UnitVal::UnitVal
	        Illegal unit dimensions for root





next up previous contents index
Next: quanta.compare - Function Up: quanta - Tool Previous: quanta.exp - 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