bundles / scipy latest / scipy / _external / array_api_extra / _lib / _utils / _helpers / meta_namespace
function
scipy._external.array_api_extra._lib._utils._helpers:meta_namespace
Signature
def meta_namespace(*arrays: Array | complex | None, xp: ArrayNamespace | None = None) → ArrayNamespaceSummary
Get the namespace of Dask chunks.
Extended Summary
On all other backends, just return the namespace of the arrays.
Parameters
*arrays: Array | int | float | complex | bool | NoneInput arrays.
xp: array_namespace, optionalThe standard-compatible namespace for the input arrays. Default: infer.
Returns
: array_namespaceIf xp is Dask, the namespace of the Dask chunks; otherwise, the namespace of the arrays.
Aliases
scipy.differentiate.xpx._delegation._funcs.meta_namespace