powered by
Functions to compute the error function, complementary error function, and their inverses.
erf(x)erfc(x)erf_inv(p)erfc_inv(p)
erfc(x)
erf_inv(p)
erfc_inv(p)
A single numeric value with the computed error function, complementary error function, or their inverses.
Input numeric value
Probability value (0 <= p <= 1)
Boost Documentation for more details
# 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)
Run the code above in your browser using DataLab