()
| 4012 | |
| 4013 | |
| 4014 | def test_outer_out_param(): |
| 4015 | arr1 = np.ones((5,)) |
| 4016 | arr2 = np.ones((2,)) |
| 4017 | arr3 = np.linspace(-2, 2, 5) |
| 4018 | out1 = np.ndarray(shape=(5, 5)) |
| 4019 | out2 = np.ndarray(shape=(2, 5)) |
| 4020 | res1 = np.outer(arr1, arr3, out1) |
| 4021 | assert_equal(res1, out1) |
| 4022 | assert_equal(np.outer(arr2, arr3, out2), out2) |
| 4023 | |
| 4024 | |
| 4025 | class TestIndices: |
nothing calls this directly
no test coverage detected
searching dependent graphs…