scipy.special.itstruve0#
- scipy.special.itstruve0(x, out=None) = <ufunc 'itstruve0'>#
Integral der Struve-Funktion der Ordnung 0.
\[I = \int_0^x H_0(t)\,dt\]- Parameter:
- xarray_like
Obere Integrationsgrenze (float).
- outndarray, optional
Optionales Ausgabe-Array für die Funktionswerte
- Rückgabe:
- ISkalar oder ndarray
Das Integral von \(H_0\) von 0 bis x.
Siehe auch
struveFunktion, die von dieser Funktion integriert wird
Hinweise
Wrapper für eine Fortran-Routine, erstellt von Shanjie Zhang und Jianming Jin [1].
Referenzen
[1]Zhang, Shanjie und Jin, Jianming. „Computation of Special Functions“, John Wiley and Sons, 1996. https://people.sc.fsu.edu/~jburkardt/f_src/special_functions/special_functions.html
Beispiele
Auswertung der Funktion an einem Punkt.
>>> import numpy as np >>> from scipy.special import itstruve0 >>> itstruve0(1.) 0.30109042670805547
Auswertung der Funktion an mehreren Punkten durch Angabe eines Arrays für x.
>>> points = np.array([1., 2., 3.5]) >>> itstruve0(points) array([0.30109043, 1.01870116, 1.96804581])
Zeichnen der Funktion von -20 bis 20.
>>> import matplotlib.pyplot as plt >>> x = np.linspace(-20., 20., 1000) >>> istruve0_values = itstruve0(x) >>> fig, ax = plt.subplots() >>> ax.plot(x, istruve0_values) >>> ax.set_xlabel(r'$x$') >>> ax.set_ylabel(r'$\int_0^{x}H_0(t)\,dt$') >>> plt.show()