Skip to main content

mathieu_cem

Function mathieu_cem 

Source
pub fn mathieu_cem(m: u32, q: f64, x: f64) -> (f64, f64)
Expand description

Even Mathieu function and its derivative

Returns the even Mathieu function, $\mathrm{ce}_m(x,q)$, of order $m$ and parameter $q$ evaluated at $x$ (given in degrees). Also returns the derivative with respect to $x$ of $\mathrm{ce}_m(x,q)$.

Corresponds to scipy.special.mathieu_cem.

§Arguments

  • m: The order of the function
  • q: The parameter of the function.
  • x: Argument of the function, given in degrees, not radians

§Returns

  • y: value of the function
  • yp: Value of the derivative w.r.t. $x$ in radians

Both are NaN for $\abs{q}$ above about 2103, or $m > 65536$.

§See also