numpy
2.0.0
|
Go to the source code of this file.
Defines | |
#define | NPY_ARRAY_ASSIGN_BUFFERSIZE 8192 |
Functions | |
NPY_NO_EXPORT int | PyArray_AssignArray (PyArrayObject *dst, PyArrayObject *src, PyArrayObject *wheremask, NPY_CASTING casting) |
NPY_NO_EXPORT int | PyArray_AssignRawScalar (PyArrayObject *dst, PyArray_Descr *src_dtype, char *src_data, PyArrayObject *wheremask, NPY_CASTING casting) |
NPY_NO_EXPORT int | raw_array_assign_scalar (int ndim, npy_intp *shape, PyArray_Descr *dst_dtype, char *dst_data, npy_intp *dst_strides, PyArray_Descr *src_dtype, char *src_data) |
NPY_NO_EXPORT int | raw_array_wheremasked_assign_scalar (int ndim, npy_intp *shape, PyArray_Descr *dst_dtype, char *dst_data, npy_intp *dst_strides, PyArray_Descr *src_dtype, char *src_data, PyArray_Descr *wheremask_dtype, char *wheremask_data, npy_intp *wheremask_strides) |
NPY_NO_EXPORT int | broadcast_strides (int ndim, npy_intp *shape, int strides_ndim, npy_intp *strides_shape, npy_intp *strides, char *strides_name, npy_intp *out_strides) |
NPY_NO_EXPORT int | raw_array_is_aligned (int ndim, char *data, npy_intp *strides, int alignment) |
NPY_NO_EXPORT int | arrays_overlap (PyArrayObject *arr1, PyArrayObject *arr2) |
#define NPY_ARRAY_ASSIGN_BUFFERSIZE 8192 |
NPY_NO_EXPORT int arrays_overlap | ( | PyArrayObject * | arr1, |
PyArrayObject * | arr2 | ||
) |
NPY_NO_EXPORT int broadcast_strides | ( | int | ndim, |
npy_intp * | shape, | ||
int | strides_ndim, | ||
npy_intp * | strides_shape, | ||
npy_intp * | strides, | ||
char * | strides_name, | ||
npy_intp * | out_strides | ||
) |
References build_shape_string(), PyUString_ConcatAndDel, PyUString_FromFormat, and PyUString_FromString.
NPY_NO_EXPORT int PyArray_AssignArray | ( | PyArrayObject * | dst, |
PyArrayObject * | src, | ||
PyArrayObject * | wheremask, | ||
NPY_CASTING | casting | ||
) |
<blockquote> casting rule.</blockquote>
<blockquote>
</blockquote>
<blockquote> casting rule.</blockquote>
Referenced by _array_fromobject().
NPY_NO_EXPORT int PyArray_AssignRawScalar | ( | PyArrayObject * | dst, |
PyArray_Descr * | src_dtype, | ||
char * | src_data, | ||
PyArrayObject * | wheremask, | ||
NPY_CASTING | casting | ||
) |
<blockquote> casting rule.</blockquote>
NPY_NO_EXPORT int raw_array_assign_scalar | ( | int | ndim, |
npy_intp * | shape, | ||
PyArray_Descr * | dst_dtype, | ||
char * | dst_data, | ||
npy_intp * | dst_strides, | ||
PyArray_Descr * | src_dtype, | ||
char * | src_data | ||
) |
References _PyArray_Descr::alignment, _PyArray_Descr::elsize, NPY_AUXDATA_FREE, NPY_BEGIN_THREADS_DEF, NPY_BEGIN_THREADS_THRESHOLDED, NPY_END_THREADS, npy_is_aligned(), NPY_MAXDIMS, NPY_RAW_ITER_ONE_NEXT, NPY_RAW_ITER_START, NPY_SUCCEED, PyArray_GetDTypeTransferFunction(), PyArray_PrepareOneRawArrayIter(), and raw_array_is_aligned().
NPY_NO_EXPORT int raw_array_is_aligned | ( | int | ndim, |
char * | data, | ||
npy_intp * | strides, | ||
int | alignment | ||
) |
References MEM_OVERLAP_NO, NPY_MAY_SHARE_BOUNDS, and solve_may_share_memory().
Referenced by raw_array_assign_array(), and raw_array_assign_scalar().
NPY_NO_EXPORT int raw_array_wheremasked_assign_scalar | ( | int | ndim, |
npy_intp * | shape, | ||
PyArray_Descr * | dst_dtype, | ||
char * | dst_data, | ||
npy_intp * | dst_strides, | ||
PyArray_Descr * | src_dtype, | ||
char * | src_data, | ||
PyArray_Descr * | wheremask_dtype, | ||
char * | wheremask_data, | ||
npy_intp * | wheremask_strides | ||
) |