NUMPY_API * Concatenate * * Concatenate an arbitrary Python sequence into an array. * op is a python object supporting the sequence interface. * Its elements will be concatenated together to form a single * multidimensional array. If axis is NPY_MAXDIMS or bigger, then * each sequence object will be flattened before concatenation */
| 764 | * each sequence object will be flattened before concatenation |
| 765 | */ |
| 766 | NPY_NO_EXPORT PyObject * |
| 767 | PyArray_Concatenate(PyObject *op, int axis) |
| 768 | { |
| 769 | /* retain legacy behaviour for casting */ |
| 770 | NPY_CASTING casting; |
| 771 | if (axis >= NPY_MAXDIMS) { |
| 772 | casting = NPY_UNSAFE_CASTING; |
| 773 | } |
| 774 | else { |
| 775 | casting = NPY_SAME_KIND_CASTING; |
| 776 | } |
| 777 | return PyArray_ConcatenateInto( |
| 778 | op, axis, NULL, NULL, casting, 0); |
| 779 | } |
| 780 | |
| 781 | static int |
| 782 | _signbit_set(PyArrayObject *arr) |
nothing calls this directly
no test coverage detected