Macaulay2 » Documentation
Packages » Python » PythonObject » erfc(PythonObject)
next | previous | forward | backward | up | index | toc

erfc(PythonObject) -- complementary error function of a python object

Description

This calls Python's built-in math.erfc function, which computes the complementary error function of x, i.e., 1 - erf(x).

i1 : erfc toPython 0

o1 = 1.0

o1 : PythonObject of class float
i2 : erfc toPython 1

o2 = 0.15729920705028513

o2 : PythonObject of class float
i3 : 1 - erf toPython 1

o3 = 0.1572992070502851

o3 : PythonObject of class float

See also

Ways to use this method:


The source of this document is in Python/doc/special.m2:49:0.