Macaulay2 » Documentation
Packages » Macaulay2Doc » analytic functions » erf
next | previous | forward | backward | up | index | toc

erf -- error function

Description

The error function \(\operatorname{erf} x = \frac{2}{\sqrt\pi}\int_0^x e^{-t^2}\,dt\).

i1 : erf 2

o1 = .9953222650189527

o1 : RR (of precision 53)

See also

Ways to use erf:

  • erf(CC)
  • erf(RR)
  • erf(RRi)

For the programmer

The object erf is a method function.


The source of this document is in Macaulay2Doc/functions/erf-doc.m2:25:0.