bundles / scipy latest / scipy / _lib / _array_api / xp_copy
function
scipy._lib._array_api:xp_copy
source: build-install/usr/lib/python3.14/site-packages/scipy/_lib/_array_api.py:133
Signature
def xp_copy(x: Array, *, xp: ModuleType | None = None) → ArraySummary
Copies an array.
Parameters
x: arrayxp: array_namespace
Returns
copy: arrayCopied array
Notes
This copy function does not offer all the semantics of np.copy, i.e. the subok and order keywords are not used.
Aliases
scipy.differentiate.xp_copy