numpy  2.0.0
src/multiarray/convert.h File Reference

Go to the source code of this file.

Functions

NPY_NO_EXPORT int PyArray_AssignZero (PyArrayObject *dst, PyArrayObject *wheremask)

Function Documentation

NPY_NO_EXPORT int PyArray_AssignZero ( PyArrayObject dst,
PyArrayObject wheremask 
)
Fills an array with zeros.
dst: The destination array. wheremask: If non-NULL, a boolean mask specifying where to set the values.
Returns 0 on success, -1 on failure.
Create a raw bool scalar with the value False