Bases: object
Bases: object
A decorator to create numpy generialized-ufunc object from Numba compiled code.
A NumPy generialized universal-function
- @guvectorize([‘void(int32[:,:], int32[:,:], int32[:,:])’,
- ‘void(float32[:,:], float32[:,:], float32[:,:])’], ‘(x, y),(x, y)->(x, y)’)
- def add_2d_array(a, b):
- for i in range(c.shape[0]):
- for j in range(c.shape[1]):
- c[i, j] = a[i, j] + b[i, j]
A decorator to create numpy ufunc object from Numba compiled code.
A NumPy universal function
- @vectorize([‘float32(float32, float32)’,
- ‘float64(float64, float64)’])
- def sum(a, b):
- return a + b
Parse generalized ufunc signature.
Bases: object
Returns (dtype numbers, function ptr, EnviornmentObject)
Bases: object
Bases: object
Bases: numba.targets.registry.CPUTarget
alias of UFuncTargetOptions
Bases: numba.targets.options.TargetOptions
Bases: object
Bases: object
Wrap the scalar function with a loop that iterates over the arguments