MCPcopy Index your code
hub / github.com/numpy/numpy / test_1D_rowvar

Method test_1D_rowvar

numpy/lib/tests/test_function_base.py:2626–2629  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2624 [-np.inf, np.inf]]))
2625
2626 def test_1D_rowvar(self):
2627 assert_allclose(cov(self.x3), cov(self.x3, rowvar=False))
2628 y = np.array([0.0780, 0.3107, 0.2111, 0.0334, 0.8501])
2629 assert_allclose(cov(self.x3, y), cov(self.x3, y, rowvar=False))
2630
2631 def test_1D_variance(self):
2632 assert_allclose(cov(self.x3, ddof=1), np.var(self.x3, ddof=1))

Callers

nothing calls this directly

Calls 2

assert_allcloseFunction · 0.90
covFunction · 0.90

Tested by

no test coverage detected