Skip to content
murmot

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

  • numpy.org

    numpy.lib.npyio.NpzFile

    NpzFile is used to load files in the NumPy .npz data archive format. Files containing arrays in .npy format are loaded as arrays; other files are returned as ...

  • numpy.org

    How to extend NumPy — NumPy v2.5.dev0 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

    How to extend NumPy — NumPy v2.5.dev0 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

    How to extend NumPy — NumPy v1.14 Manual

    This function must be declared so that it is visible to code outside of the routine. Besides adding the methods and constants you desire, this subroutine must also contain calls like import_array() and/or import_ufunc() depending on which C-API is needed.