put_incr64
put_incr64(data, ind, vals, boundscheck)
Categories: Array operations
Description
does the simple loop : data[ind] += vals not sure why this isn't in numpy uses 64 bit addressing
Parameters
| Name | Description |
|---|---|
boundscheck |
If non-zero, enables bounds checking on ind. Default 0 (no check). |
data |
Destination array (float32). Updated in place with scatter-add. |
ind |
Indices array (int64). |
vals |
Values array (float32) to add. |
Constraints
data.format == 'f'ind.format == 'q' or ind.itemsize == 8ind.n == vals.nvals.format == 'f'
Overloads
| C function | Condition |
|---|---|
put_incr64 |
always |
Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)