bundles / numpy 2.4.4 / numpy / _core / _multiarray_umath / _array_converter
class
numpy._core._multiarray_umath:_array_converter
source: /numpy/_core/_multiarray_umath.cpython-314-x86_64-linux-gnu.so
Signature
class _array_converter ( * array_likes ) Summary
Helper to convert one or more objects to arrays. Integrates machinery to deal with the result_type and __array_wrap__.
Extended Summary
The reason for this is that e.g. result_type needs to convert to arrays to find the dtype. But converting to an array before calling result_type would incorrectly "forget" whether it was a Python int, float, or complex.
Aliases
-
numpy.lib._arraysetops_impl._array_converter