Update putEpps.R

This commit is contained in:
François Pelletier 2014-02-14 14:59:52 -05:00
parent 72d149832c
commit 61bf3d4ba6

View file

@ -34,5 +34,5 @@ putEpps <- function(char.fn,strikeprice,eval.time,expiry.time,rate,...,int.bound
strikeprice *
(.5 - integrate(zhi,int.bounds[1],int.bounds[2],strikeprice,eval.time,expiry.time,rate,...)$value / (2*pi))
}
mclapply(as.vector(strikeprice),integrate.K,zhi,int.bounds,eval.time,expiry.time,rate,...)
}
mclapply(as.list(strikeprice),integrate.K,zhi,int.bounds,eval.time,expiry.time,rate,...)
}