Skip to content
murmot

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

  • numpy.org

    How to extend NumPy — NumPy v1.15 Manual

    There is exactly one function that must be defined in your C-code in order for Python to use it as an extension module.The final step of the C-function is to return something. If an error is encountered then NULL should be returned (making sure an error has actually been set).

  • numpy.org

    numpy.arange — NumPy v2.7.dev0 Manual

    For integer arguments the function is roughly equivalent to the Python built-in range , but returns an ndarray rather than a range instance. When using a ...

  • numpy.org

    How to extend NumPy — NumPy v1.20 Manual

    There is exactly one function that must be defined in your C-code in order for Python to use it as an extension module.The final step of the C-function is to return something. If an error is encountered then NULL should be returned (making sure an error has actually been set).

  • 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

    numpy.mean — NumPy v2.2 Manual

    Compute the arithmetic mean along the specified axis. Returns the average of the array elements. The average is taken over the flattened array by default, ...

  • 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.append — NumPy v2.5 Manual

    Append values to the end of an array. Parameters: arrarray_like. Values are appended to a copy of this array. valuesarray_like.