Smooth approximation to the absolute value function
abs_smooth.RdSmooth approximation to the absolute value function
Examples
abs(0)
#> [1] 0
abs_smooth(0, 1e-4)
#> [1] 0.01
abs_smooth.RdSmooth approximation to the absolute value function
abs(0)
#> [1] 0
abs_smooth(0, 1e-4)
#> [1] 0.01