MCPcopy Create free account
hub / github.com/pybind/pybind11 / array_copy_but_one

Function array_copy_but_one

tests/test_eigen_matrix.py:258–261  ·  view source on GitHub ↗
(a, r, c, v)

Source from the content-addressed store, hash-verified

256
257
258def array_copy_but_one(a, r, c, v):
259 z = np.array(a, copy=True)
260 z[r, c] = v
261 return z
262
263
264def test_eigen_return_references():

Callers 1

Calls 1

arrayMethod · 0.80

Tested by

no test coverage detected