Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les compléments
Voir le programme détaillé
Module « scipy.special »

Fonction wofz - module scipy.special

Signature de la fonction wofz

def wofz(*args, **kwargs) 

Description

help(scipy.special.wofz)

wofz(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature])

wofz(z, out=None)

Faddeeva function

Returns the value of the Faddeeva function for complex argument::

    exp(-z**2) * erfc(-i*z)

Parameters
----------
z : array_like
    complex argument
out : ndarray, optional
    Optional output array for the function results

Returns
-------
scalar or ndarray
    Value of the Faddeeva function

See Also
--------
dawsn, erf, erfc, erfcx, erfi

References
----------
.. [1] Steven G. Johnson, Faddeeva W function implementation.
   http://ab-initio.mit.edu/Faddeeva

Examples
--------
>>> import numpy as np
>>> from scipy import special
>>> import matplotlib.pyplot as plt

>>> x = np.linspace(-3, 3)
>>> z = special.wofz(x)

>>> plt.plot(x, z.real, label='wofz(x).real')
>>> plt.plot(x, z.imag, label='wofz(x).imag')
>>> plt.xlabel('$x$')
>>> plt.legend(framealpha=1, shadow=True)
>>> plt.grid(alpha=0.25)
>>> plt.show()


Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les compléments
Voir le programme détaillé