rec.prot {cwhmisc} | R Documentation |
1/x, but 1/0 -> 0
rec.prot(x, eps = .Machine$double.eps)
x |
array to invert. |
eps |
limit: if abs(x) < eps then 1/x -> 0. |
Christian W. Hoffmann <c-w.hoffmann@sunrise.ch>
http://www.wsl.ch/personal_homepages/hoffmann/index_EN
rec.prot(c(0,.Machine$double.eps,1.0e-10,1,1.0e100)) rec.prot(c(0,.Machine$double.eps,1.0e-10,1,1.0e100), 100*.Machine$double.eps)