pub fn erfc(arg: &Expression) -> ExpressionExpand description
Complementary error function erfc(x)
§Mathematical Definition
erfc(x) = 1 - erf(x) = (2/√π) ∫ₓ^∞ e^(-t²) dt
§Arguments
arg- Expression to compute complementary error function of
§Returns
Complementary error function expression
§Examples
use mathhook_core::functions::special::error_functions::erfc;
use mathhook_core::expr;
let result = erfc(&expr!(0));
assert_eq!(result, expr!(1));