bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / _core / _multiarray_umath / _array_converter
class
numpy._core._multiarray_umath:_array_converter
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