fabs: Smooth absolute value function

View source: R/math_functions.R

fabsR Documentation

Smooth absolute value function

Description

Smooth absolute value function

Usage

fabs(x, eps = 1e-08)

Arguments

x

A numeric vector.

eps

A small value added for numerical stability (default is 1e-8).

Value

The smooth absolute value of x.


BayesRTMB documentation built on Nov. 24, 2026, 9:06 a.m.