R/glog.R

`glog` <-
function(x, a=1, InverseQ=FALSE) {
#see glog.nb for derivation of inverse
if (InverseQ) {
    out<-0.25*exp(-x)*(4*exp(2*x)-(a*a))
}
else
    out<-log((x + sqrt(x^2 + a^2))/2)
out
}

Try the FitAR package in your browser

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

FitAR documentation built on May 2, 2019, 3:22 a.m.