(self)
| 2546 | assert_(np.all(np.abs(tgt2) <= 1.0)) |
| 2547 | |
| 2548 | def test_complex(self): |
| 2549 | x = np.array([[1, 2, 3], [1j, 2j, 3j]]) |
| 2550 | res = corrcoef(x) |
| 2551 | tgt = np.array([[1., -1.j], [1.j, 1.]]) |
| 2552 | assert_allclose(res, tgt) |
| 2553 | assert_(np.all(np.abs(res) <= 1.0)) |
| 2554 | |
| 2555 | def test_xy(self): |
| 2556 | x = np.array([[1, 2, 3]]) |
nothing calls this directly
no test coverage detected