MCPcopy Create free account
hub / github.com/numpy/numpy / test_1D_variance

Method test_1D_variance

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

Source from the content-addressed store, hash-verified

2365 assert_allclose(cov(self.x3, y), cov(self.x3, y, rowvar=False))
2366
2367 def test_1D_variance(self):
2368 assert_allclose(cov(self.x3, ddof=1), np.var(self.x3, ddof=1))
2369
2370 def test_fweights(self):
2371 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