scipy.special.mathieu_a#
- scipy.special.mathieu_a(m, q, out=None) = <wrapped_ufunc 'mathieu_a'>#
Characteristic value of even Mathieu functions.
- Parameters:
- marray_like
Order of the function. Must be a non-negative integer.
- qarray_like
Parameter of the function
- outndarray, optional
Optional output array for the function results
- Returns:
- scalar or ndarray
Characteristic value for the even solution, \(\mathrm{ce}_m(x, q)\), of Mathieu’s equation.
See also
Notes
Array API Standard Support
mathieu_ahas 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.mathieu_adoes not currently supportoutfor the PyTorch backend.See Array API coverage for more information.
References
[1]Stuart Brorson, A New Implementation of the Mathieu Functions for SciPy. brorson/ScipyMathieuPaper