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

Method test_1D_variance

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

Source from the content-addressed store, hash-verified

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))
2633
2634 def test_fweights(self):
2635 assert_allclose(cov(self.x2, fweights=self.frequencies),

Callers

nothing calls this directly

Calls 3

assert_allcloseFunction · 0.90
covFunction · 0.90
varMethod · 0.45

Tested by

no test coverage detected