Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
258
def
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
264
def
test_eigen_return_references():
Callers
1
test_eigen_return_references
Function · 0.85
Calls
1
array
Method · 0.80
Tested by
no test coverage detected