MCPcopy Create free account
hub / github.com/numpy/numpy / PyArray_MoveInto

Function PyArray_MoveInto

numpy/core/src/multiarray/ctors.c:2783–2787  ·  view source on GitHub ↗

NUMPY_API * Move the memory of one array into another, allowing for overlapping data. * * Returns 0 on success, negative on failure. */

Source from the content-addressed store, hash-verified

2781 * Returns 0 on success, negative on failure.
2782 */
2783NPY_NO_EXPORT int
2784PyArray_MoveInto(PyArrayObject *dst, PyArrayObject *src)
2785{
2786 return PyArray_AssignArray(dst, src, NULL, NPY_UNSAFE_CASTING);
2787}
2788
2789/*NUMPY_API
2790 * PyArray_CheckAxis

Callers 2

array_real_setFunction · 0.85
array_imag_setFunction · 0.85

Calls 1

PyArray_AssignArrayFunction · 0.85

Tested by

no test coverage detected