R/abs_approx.R

Defines functions abs_approx

Documented in abs_approx

## File Name: abs_approx.R
## File Version: 0.08


# quadratic approximation of the absolute value function
abs_approx <- function( x, eps=1E-5)
{
    res <- sqrt( x^2 + eps )
    return(res)
}
alexanderrobitzsch/CDM documentation built on Aug. 30, 2022, 12:31 a.m.