erf: AD-compatible error function and complementary error function

View source: R/aaa_utils.R

erfR Documentation

AD-compatible error function and complementary error function

Description

AD-compatible error function and complementary error function

Usage

erf(x)

erfc(x)

Arguments

x

vector of evaluation points

Value

erf(x) returns the error function and erfc(x) returns the complementary error function.

Examples

erf(1)
erfc(1)

RTMBdist documentation built on April 1, 2026, 5:07 p.m.