MCPcopy Create free account
hub / github.com/numpy/numpy / PyArray_As1D

Function PyArray_As1D

numpy/core/src/multiarray/multiarraymodule.c:324–332  ·  view source on GitHub ↗

NUMPY_API * Convert to a 1D C-array */

Source from the content-addressed store, hash-verified

322 * Convert to a 1D C-array
323 */
324NPY_NO_EXPORT int
325PyArray_As1D(PyObject **NPY_UNUSED(op), char **NPY_UNUSED(ptr),
326 int *NPY_UNUSED(d1), int NPY_UNUSED(typecode))
327{
328 /* 2008-07-14, 1.5 */
329 PyErr_SetString(PyExc_NotImplementedError,
330 "PyArray_As1D: use PyArray_AsCArray.");
331 return -1;
332}
333
334/*NUMPY_API
335 * Convert to a 2D C-array

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected