R/interpol1d.R

Defines functions interpol1d

Documented in interpol1d

interpol1d = function(x,F0,minS,maxS)
{
 
  m = length(F0)
  
  out0 = .C("interpolation1d",
            interpol = double(1),
            as.double(x),
            as.double(F0),
            as.integer(m),
            as.double(maxS),
            as.double(minS)
           
  )
  
  out = out0$interpol
  
  
}

Try the OptHedging package in your browser

Any scripts or data that you put into this service are public.

OptHedging documentation built on May 2, 2019, 6:39 a.m.