error_functions: Error Functions and Inverses

error_functionsR Documentation

Error Functions and Inverses

Description

Functions to compute the error function, complementary error function, and their inverses.

Usage

erf(x)

erfc(x)

erf_inv(p)

erfc_inv(p)

Arguments

x

Input numeric value

p

Probability value (0 <= p <= 1)

Value

A single numeric value with the computed error function, complementary error function, or their inverses.

See Also

Boost Documentation for more details

Examples

# Error function
erf(0.5)
# Complementary error function
erfc(0.5)
# Inverse error function
erf_inv(0.5)
# Inverse complementary error function
erfc_inv(0.5)

boostmath documentation built on Dec. 15, 2025, 5:07 p.m.