What does |x| mean in the erf function?

1 reply · 6K views · last reply
moonman239
Messages
276
Reaction score
0
Here's the equation I'm using: erf(x) = x/|x| * SQRT(1 - exp(-x2*(4/pi + (ax)2) / (1 + ax2)
 
moonman239 said:
Here's the equation I'm using: erf(x) = x/|x| * SQRT(1 - exp(-x2*(4/pi + (ax)2) / (1 + ax2)

|x| is the absolute value of x.

x/|x| is 1 for positive x, -1 for negative x.

(However, I don't recognize that equation for erf.)