Skip to content
murmot

Results for “function return python array java code c error example site:numpy.org output”

  • numpy.org

    How to extend NumPy — NumPy v1.20 Manual

    The following example shows how you might write a wrapper that accepts two input arguments (that will be converted to an array) and an output argument (that must be an array). The function returns None and updates the output array.

  • numpy.org

    numpy.arange — NumPy v2.7.dev0 Manual

    For integer arguments the function is roughly equivalent to the Python ... The type of the output array. If dtype is not given, infer the data type ...

  • numpy.org

    How to extend NumPy — NumPy v2.1 Manual

    The following example shows how you might write a wrapper that accepts two input arguments (that will be converted to an array) and an output argument (that must be an array). The function returns None and updates the output array.

  • numpy.org

    numpy.mean — NumPy v2.2 Manual

    If out=None, returns a new array containing the mean values, otherwise a reference to the output array is returned. ... example below). Specifying a higher ...

  • numpy.org

    How to extend NumPy — NumPy v1.25 Manual

    The following example shows how you might write a wrapper that accepts two input arguments (that will be converted to an array) and an output argument (that must be an array). The function returns None and updates the output array.

  • 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.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 ...

  • numpy.org

    numpy.zeros_like — NumPy v2.1 Manual

    numpy.zeros_like# ... Return an array of zeros with the same shape and type as a given array. ... Overrides the data type of the result. New in version 1.6.0.