This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / _lib / _array_api / concat_1d

function

scipy._lib._array_api:concat_1d

source: build-install/usr/lib/python3.14/site-packages/scipy/_lib/_array_api.py:648

Signature

def concat_1d(xp: ModuleType | None, *arrays: Iterable[ArrayLike]) → Array

Summary

A replacement for np.r_ as xp.concat does not accept python scalars

or 0-D arrays.

Extended Summary

Python scalars and host data are created on the device of the first array argument, not on the backend's default device; array arguments keep their own device (see gh-22680).

Aliases

  • scipy.interpolate._bsplines.concat_1d