Error in documentation scipy.special.modstruve #10161
Labels
Documentation
Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org
scipy.special
Milestone
The documentation for the scipy.special.modstruve function says that modstruve is defined as -iexp(-i\nu\pi/2)H_\nu(z) when it should be iexp(-i\nu\pi/2)H_\nu(iz). Without the iz in the argument of the struve function, the modified struve function becomes complex for real inputs and this is not consistent with the output of scipy.special.modstruve, nor the definition cited in https://dlmf.nist.gov/11.2. This is a quick fix, literally just change the z to an iz in the argument of H in the docstring only, not the actual function.
Reproducing code example:
Error message:
Scipy/Numpy/Python version information:
The text was updated successfully, but these errors were encountered: