(self)
| 2303 | np.array([[np.nan, np.nan], [np.nan, np.nan]])) |
| 2304 | |
| 2305 | def test_extreme(self): |
| 2306 | x = [[1e-100, 1e100], [1e100, 1e-100]] |
| 2307 | with np.errstate(all='raise'): |
| 2308 | c = corrcoef(x) |
| 2309 | assert_array_almost_equal(c, np.array([[1., -1.], [-1., 1.]])) |
| 2310 | assert_(np.all(np.abs(c) <= 1.0)) |
| 2311 | |
| 2312 | @pytest.mark.parametrize("test_type", [np.half, np.single, np.double, np.longdouble]) |
| 2313 | def test_corrcoef_dtype(self, test_type): |
nothing calls this directly
no test coverage detected