Skip to main content

mathieu_modsem2

Function mathieu_modsem2 

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

Odd modified Mathieu function of the second kind and its derivative

Evaluates the odd modified Mathieu function of the second kind, $\mathrm{Ms2}_m(x, q)$, and its derivative at $x$ (given in degrees) for order $m$ and parameter $q$.

Corresponds to scipy.special.mathieu_modsem2.

§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$

Both are NaN if more than 250 Fourier coefficients are needed, i.e. for large |q| or m.

§See also