osaft.core.functions.xexpexp1#

osaft.core.functions.xexpexp1(z, N=20)[source]#

Computes \(z\exp(z)E_1(z)\)

The function is meant to return accurate values also if \(\mathrm{Re}(z)\) is large. If \(\mathrm{Re}(z)\) is large then the divergent series is used

Parameters:
  • z (complex) – argument

  • N (int, optional) – number of terms to be considered

    Default: 20

Return type:

complex