{ } Raw JSON

bundles / scipy 1.17.1 / scipy / _lib / array_api_compat / numpy / _aliases / asarray

function

scipy._lib.array_api_compat.numpy._aliases:asarray

source: /scipy/_lib/array_api_compat/numpy/_aliases.py :70

Signature

def   asarray ( obj : Array | complex | NestedSequence[complex] | SupportsBufferProtocol / dtype : DType | None = None device : Device | None = None copy : py_bool | None = None ** kwargs : Any )  →  Array

Summary

Array API compatibility wrapper for asarray().

Extended Summary

See the corresponding documentation in the array library and/or the array API specification for more details.

Aliases

  • scipy.signal._filter_design.np_compat.asarray