https://github.com/cran/fields
Raw File
Tip revision: 673b12f5742085897437abdb2e305e070e27fa68 authored by Douglas Nychka on 18 December 2013, 00:00:00 UTC
version 6.9.1
Tip revision: 673b12f
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