Skip to content
murmot

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

  • numpy.org

    Python Types and C-Structures — NumPy v1.16 Manual

    This function deals with “misbehaved” arrays. If successful, a zero is returned, otherwise, a negative one is returned (and a Python error set). void copyswapn(void *dest, npy_intp dstride, void *src, npy_intp sstride, npy_intp n, int swap, void *arr)¶.

  • 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.All three of these functions require the module object (the return value of Py_InitModule). The name is a string that labels the value in the module.

  • numpy.org

    Array API — NumPy v1.13 Manual

    This function returns a (C-style) contiguous and behaved function array from any nested sequence or array interface exporting object, op, of (non-flexible) type given by the enumerated typenum, of minimum depth min_depth, and of maximum depth max_depth.