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

Function array_correlate2

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

Source from the content-addressed store, hash-verified

3133}
3134
3135static PyObject*
3136array_correlate2(PyObject *NPY_UNUSED(dummy),
3137 PyObject *const *args, Py_ssize_t len_args, PyObject *kwnames)
3138{
3139 PyObject *shape, *a0;
3140 int mode = 0;
3141 NPY_PREPARE_ARGPARSER;
3142
3143 if (npy_parse_arguments("correlate2", args, len_args, kwnames,
3144 "a", NULL, &a0,
3145 "v", NULL, &shape,
3146 "|mode", &PyArray_CorrelatemodeConverter, &mode,
3147 NULL, NULL, NULL) < 0) {
3148 return NULL;
3149 }
3150 return PyArray_Correlate2(a0, shape, mode);
3151}
3152
3153static PyObject *
3154array_arange(PyObject *NPY_UNUSED(ignored),

Callers

nothing calls this directly

Calls 1

PyArray_Correlate2Function · 0.85

Tested by

no test coverage detected