Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 28842e744495811080ce537d0b6dab00 > files > 261

grads-2.0.a9-0.2.fc15.i686.rpm

<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.-->

<h2><b>pow</b></h2><p>

<code>pow(<i>expr1,expr2</i>)</code><p> 

The <code>pow</code> function raises the values of
<code><i>expr1</i></code> to the power of <code><i>expr2</i></code>. No
error checking is performed for invalid values in the operands. This
function works on both gridded and station data. <p>

<H3>Usage Notes</H3><P>

<h3>Examples</h3><p> 

<ol>
<li>To square some value: <p>
<dd><code>pow(expr,2) </code><p>

<li>To duplicate the operation of the mag function: <p>

<dd><code>sqrt(pow(u,2)+pow(v,2)) </code>
</ol>