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

Function PyArray_As2D

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

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

Source from the content-addressed store, hash-verified

335 * Convert to a 2D C-array
336 */
337NPY_NO_EXPORT int
338PyArray_As2D(PyObject **NPY_UNUSED(op), char ***NPY_UNUSED(ptr),
339 int *NPY_UNUSED(d1), int *NPY_UNUSED(d2), int NPY_UNUSED(typecode))
340{
341 /* 2008-07-14, 1.5 */
342 PyErr_SetString(PyExc_NotImplementedError,
343 "PyArray_As2D: use PyArray_AsCArray.");
344 return -1;
345}
346
347/* End Deprecated */
348

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected