(self)
| 57 | eye(3, dtype=bool)) |
| 58 | |
| 59 | def test_uint64(self): |
| 60 | # Regression test for gh-9982 |
| 61 | assert_equal(eye(np.uint64(2), dtype=int), array([[1, 0], [0, 1]])) |
| 62 | assert_equal(eye(np.uint64(2), M=np.uint64(4), k=np.uint64(1)), |
| 63 | array([[0, 1, 0, 0], [0, 0, 1, 0]])) |
| 64 | |
| 65 | def test_diag(self): |
| 66 | assert_equal(eye(4, k=1), |
nothing calls this directly
no test coverage detected