Skip to content

put_incr32

put_incr32(data, ind, vals, boundscheck)

Categories: Array operations

Description

does the simple loop : data[ind] += vals not sure why this isn't in numpy uses 32 bit addressing

Parameters

Name Description
boundscheck If non-zero, enables bounds checking on ind.
data Destination array (float32).
ind Indices array (int32).
vals Values array (float32) to add.

Constraints

  • data.format == 'f'
  • ( ind.format == 'i' or ind.format == 'l' )
  • ind.n == vals.n
  • vals.format == 'f'

Overloads

C function Condition
put_incr32 always

Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)