(self)
| 8314 | assert_equal(np.inner(sca, vec), desired) |
| 8315 | |
| 8316 | def test_vecself(self): |
| 8317 | # Ticket 844. |
| 8318 | # Inner product of a vector with itself segfaults or give |
| 8319 | # meaningless result |
| 8320 | a = np.zeros(shape=(1, 80), dtype=np.float64) |
| 8321 | p = np.inner(a, a) |
| 8322 | assert_almost_equal(p, 0, decimal=14) |
| 8323 | |
| 8324 | def test_inner_product_with_various_contiguities(self): |
| 8325 | # github issue 6532 |
nothing calls this directly
no test coverage detected