Skip to main content

mathieu_modcem1

Function mathieu_modcem1 

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

Even modified Mathieu function of the first kind and its derivative

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

Corresponds to scipy.special.mathieu_modcem1.

§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