# Error Function & Imaginary Error Function - Formulas

351
I just need to check with you guys whether I have the correct formulas.

Thank you

Error Function

$$\mbox{Erf }(z)=\frac{2}{\sqrt{\pi}}\int _0 ^z e^{-t^2} \: dt$$

Imaginary Error Function

$$\mbox{Erfi }(z)=\frac{\mbox{Erf }(iz)}{i}=\frac{2}{i\sqrt{\pi}}\int _0 ^{iz} e^{-t^2} \: dt$$