Skip to contents

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.