[Thread Prev][Thread Next][Index]

Re: How can get the square of a variable



Hi,
    You can find the sqare root of a variable xx in ferret as xx^0.5.

       yes? let xx = 100
       yes? let yy = xx^0.5
       yes? list yy
                   VARIABLE : XX^0.5
              10.00

    An external function (fortran subroutine, sqrt.F) is given at 
http://ferret.wrc.noaa.gov/Ferret/External_Functions/contributions/sqrt.F.
But that external function is not there with FERRET v5.53/v.5.5. May be
somebody else can help you to use that subroutine as an external function.   


With Regards 

Jason



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement