Did I find the right examples for you? yes no

# scipy.special._ufuncs.mathieu_modcem2

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

```    def test_mathieu_modcem2(self):
cephes.mathieu_modcem2(1,1,1)
def test_mathieu_sem(self):
assert_equal(cephes.mathieu_sem(1,0,0),(0.0,1.0))
def test_mathieu_modsem1(self):
```

```    def test_mathieu_modcem2(self):
cephes.mathieu_modcem2(1,1,1)

# Test reflection relation AMS 20.6.19
m = np.arange(0, 4)[:,None,None]
q = np.r_[np.logspace(-2, 2, 10)][None,:,None]
z = np.linspace(0, 1, 7)[None,None,:]

y1 = cephes.mathieu_modcem2(m, q, -z)[0]
```
```        y1 = cephes.mathieu_modcem2(m, q, -z)[0]

fr = -cephes.mathieu_modcem2(m, q, 0)[0] / cephes.mathieu_modcem1(m, q, 0)[0]
y2 = -cephes.mathieu_modcem2(m, q, z)[0] - 2*fr*cephes.mathieu_modcem1(m, q, z)[0]

```
```        assert_equal(cephes.mathieu_modcem1(10000, 1.5, 1.3), (np.nan, np.nan))
assert_equal(cephes.mathieu_modsem1(10000, 1.5, 1.3), (np.nan, np.nan))
assert_equal(cephes.mathieu_modcem2(10000, 1.5, 1.3), (np.nan, np.nan))
assert_equal(cephes.mathieu_modsem2(10000, 1.5, 1.3), (np.nan, np.nan))

```