Método Python math.erfc()
Ejemplo
Imprime la función de error complementaria para diferentes números:
# Import math Library
import math
# Print complementary error function
for different numbers
print (math.erfc(0.67))
print (math.erfc(1.34))
print
(math.erfc(-6))
Definición y uso
El math.erfc()
método devuelve la función de error complementaria de un número.
Este método acepta un valor entre -inf y + inf, y devuelve un valor entre 0 y 2.
Sintaxis
math.erfc(x)
Valores paramétricos
Parameter | Description |
---|---|
x | Required. A number to find the complementary error function of |
Detalles técnicos
Valor devuelto: | Un float valor, que representa la función de error complementaria de un número. |
---|---|
Versión de Python: | 3.2 |