scipy.special.log_wright_bessel#
- scipy.special.log_wright_bessel(a, b, x, out=None) = <wrapped_ufunc 'log_wright_bessel'>#
Natural logarithm of Wright’s generalized Bessel function, see
wright_bessel. This function comes in handy in particular for large values of x.- Parameters:
- aarray_like of float
a >= 0
- barray_like of float
b >= 0
- xarray_like of float
x >= 0
- outndarray, optional
Optional output array for the function results
- Returns:
- scalar or ndarray
Value of the logarithm of Wright’s generalized Bessel function
Notes
Due to the complexity of the function with its three parameters, only non-negative arguments are implemented.
Added in version 1.14.0.
Array API Standard Support
log_wright_besselhas support for Python Array API Standard compatible backends in addition to NumPy. The following combinations of backend and device (or other capability) are supported.Library
CPU
GPU
NumPy
✅
n/a
CuPy
n/a
⛔
PyTorch
✅
⛔
JAX
✅
⛔
Dask
✅
n/a
For the NumPy backend, this function supports all NumPy ufunc keyword arguments. Other backends may support
out, but typically none of the other ufunc kwargs.outis typically supported for CuPy and PyTorch, but not currently in cases where SciPy relies on a generic Array API implementation or, for PyTorch on CPU, falls back to the NumPy backend.outis never supported for JAX because JAX arrays are immutable.log_wright_besseldoes not currently supportoutfor the PyTorch backend.See Support for the array API standard for more information.
Examples
>>> from scipy.special import log_wright_bessel >>> a, b, x = 1.5, 1.1, 2.5 >>> log_wright_bessel(a, b, x) 1.1947654935299217