This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / special / _basic / erf_zeros

function

scipy.special._basic:erf_zeros

source: build-install/usr/lib/python3.14/site-packages/scipy/special/_basic.py:1455

Signature

def erf_zeros(nt)

Summary

Compute the first nt zero in the first quadrant, ordered by absolute value.

Extended Summary

Zeros in the other quadrants can be obtained by using the symmetries erf(-z) = erf(z) and erf(conj(z)) = conj(erf(z)).

Parameters

nt : int

The number of zeros to compute

Returns

The locations of the zeros of erf : ndarray (complex)

Complex values at which zeros of erf(z)

Examples

from scipy import special
✓
special.erf_zeros(1)
✗
array([1.451+1.881j])
Check that erf is (close to) zero for the value returned by erf_zeros
special.erf(special.erf_zeros(1))
✗
array([0.+0.j])

Aliases

  • scipy.special.erf_zeros