(
arrays: Iterable["ConcatenatableArray"], /, *, axis=0
)
| 92 | |
| 93 | @implements(np.concatenate) |
| 94 | def concatenate( |
| 95 | arrays: Iterable["ConcatenatableArray"], /, *, axis=0 |
| 96 | ) -> "ConcatenatableArray": |
| 97 | if any(not isinstance(arr, ConcatenatableArray) for arr in arrays): |
| 98 | raise TypeError |
| 99 | |
| 100 | result = np.concatenate([arr._array for arr in arrays], axis=axis) |
| 101 | return ConcatenatableArray(result) |
| 102 | |
| 103 | |
| 104 | @implements(np.stack) |
nothing calls this directly
no test coverage detected
searching dependent graphs…