Skip to content
murmot

Results for “function return python array object string java site:numpy.org output”

  • numpy.org

    numpy.maximum — NumPy v2.2 Manual

    Element-wise maximum of array elements. Compare two arrays and return a new array containing the element-wise maxima. If one of the elements being compared is a ...

  • numpy.org

    How to extend NumPy — NumPy v1.15 Manual

    If multiple objects should be returned then you need to return a tuple. The Py_BuildValue (format_string, c_variables…) function makes it easy to build tuples of Python objects from C variables.The function returns None and updates the output array.

  • numpy.org

    Data types — NumPy v2.5 Manual

    Array types and conversions between types#. NumPy supports a much greater variety of numerical types than Python does. This section shows which are ...

  • numpy.org

    Using F2PY bindings in Python — NumPy v2.3 Manual

    In general, a scalar argument for a F2PY generated wrapper function can be an ordinary Python scalar (integer, float, complex number) as well as an arbitrary sequence object (list, tuple, array, string) of scalars.

  • numpy.org

    NumPy reference — NumPy v2.3 Manual

    NumPy reference#. Release: 2.3. Date: June 09, 2025. This reference manual details functions, modules, and objects included in NumPy, describing what they ...

  • numpy.org

    Python types and C-structures — NumPy v2.1 Manual

    A pointer to a function that returns a standard Python object from a single element of the array object arr pointed to by data. This function must be able to deal with “misbehaved “(misaligned and/or swapped) arrays correctly.

  • numpy.org

    numpy.meshgrid — NumPy v2.5 Manual

    Return a tuple of coordinate matrices from coordinate vectors. Make N-D coordinate arrays for vectorized evaluations of N-D scalar/vector fields over N-D grids, ...

  • numpy.org

    numpy.mean — NumPy v2.2 Manual

    Array objects · Universal functions ... If out=None, returns a new array containing the mean values, otherwise a reference to the output array is returned.