(self)
| 7331 | assert_equal(np.var(a, where=False), np.nan) |
| 7332 | |
| 7333 | def test_std_values(self): |
| 7334 | rmat, cmat, omat = self._create_data() |
| 7335 | for mat in [rmat, cmat, omat]: |
| 7336 | for axis in [0, 1, None]: |
| 7337 | tgt = np.sqrt(_var(mat, axis=axis)) |
| 7338 | res = _std(mat, axis=axis) |
| 7339 | assert_almost_equal(res, tgt) |
| 7340 | |
| 7341 | def test_std_where(self): |
| 7342 | a = np.arange(25).reshape((5, 5))[::-1] |
nothing calls this directly
no test coverage detected