https://github.com/cran/fields
Raw File
Tip revision: 1e85525d7f4e727af643137ca8803bae3be1dd6d authored by Douglas Nychka on 16 May 2014, 16:10:31 UTC
version 7.1
Tip revision: 1e85525
expfn.f
c fields, Tools for spatial data
c Copyright 2004-2013, Institute for Mathematics Applied Geosciences
c University Corporation for Atmospheric Research
c Licensed under the GPL -- www.gpl.org/licenses/gpl.html
 

       subroutine expfn(n,d2, par)
       real*8 d2(n), par(1)
       integer n

         do 5 k =1,n
         d2(k)=  exp(-1*d2(k)**(par( 1)/2))
   5     continue

        return
        end
back to top