(self)
| 188 | assert_equal(y[0], start) |
| 189 | |
| 190 | def test_nan_interior(self): |
| 191 | with errstate(invalid='ignore'): |
| 192 | y = geomspace(-3, 3, num=4) |
| 193 | |
| 194 | assert_equal(y[0], -3.0) |
| 195 | assert_(isnan(y[1:-1]).all()) |
| 196 | assert_equal(y[3], 3.0) |
| 197 | |
| 198 | with errstate(invalid='ignore'): |
| 199 | y = geomspace(-3, 3, num=4, endpoint=False) |
| 200 | |
| 201 | assert_equal(y[0], -3.0) |
| 202 | assert_(isnan(y[1:]).all()) |
| 203 | |
| 204 | def test_complex(self): |
| 205 | # Purely imaginary |
nothing calls this directly
no test coverage detected