Skip to main content

mathieu_sem

Function mathieu_sem 

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

Odd Mathieu function and its derivative

Returns the odd Mathieu function, $\mathrm{se}_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{se}_m(x,q)$.

Corresponds to scipy.special.mathieu_sem.

§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 $m > 0$ and $\abs{q}$ above about 2103, or $m > 65536$.

§See also