MCPcopy Create free account
hub / github.com/numpy/numpy / call_ufunc

Method call_ufunc

numpy/core/tests/test_ufunc.py:585–586  ·  view source on GitHub ↗
(arr, **kwargs)

Source from the content-addressed store, hash-verified

583 indicate a cast-safety as well (which is normally always "no").
584 """
585 def call_ufunc(arr, **kwargs):
586 return ufunc(*(arr,) * ufunc.nin, **kwargs)
587
588 arr = np.array([1., 2., 3.], dtype=np.float32)
589 arr_bs = arr.astype(arr.dtype.newbyteorder())

Callers

nothing calls this directly

Calls 1

ufuncClass · 0.85

Tested by

no test coverage detected