bundles / scipy latest / scipy / _lib / array_api_extra / _lib / _utils / _helpers / meta_namespace
function
scipy._lib.array_api_extra._lib._utils._helpers:meta_namespace
source: /scipy/_lib/array_api_extra/_lib/_utils/_helpers.py :284
Signature
def meta_namespace ( * arrays : Array | complex | None , xp : ModuleType | None = None ) → ModuleType Summary
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