(self)
| 7242 | assert_equal(np.mean(a, where=False), np.nan) |
| 7243 | |
| 7244 | def test_var_values(self): |
| 7245 | rmat, cmat, omat = self._create_data() |
| 7246 | for mat in [rmat, cmat, omat]: |
| 7247 | for axis in [0, 1, None]: |
| 7248 | msqr = _mean(mat * mat.conj(), axis=axis) |
| 7249 | mean = _mean(mat, axis=axis) |
| 7250 | tgt = msqr - mean * mean.conjugate() |
| 7251 | res = _var(mat, axis=axis) |
| 7252 | assert_almost_equal(res, tgt) |
| 7253 | |
| 7254 | @pytest.mark.parametrize(('complex_dtype', 'ndec'), ( |
| 7255 | ('complex64', 6), |
nothing calls this directly
no test coverage detected