bundles / scipy 1.17.1 / scipy / _lib / array_api_compat / common / _aliases / eye
function
scipy._lib.array_api_compat.common._aliases:eye
Signature
def eye ( n_rows : int , n_cols : int | None = None , / , k : int = 0 , dtype : DType | None = None , device : Device | None = None , ** kwargs : object ) → Array Summary
Array API compatibility wrapper for eye.
Extended Summary
See the corresponding documentation in NumPy/CuPy and/or the array API specification for more details.
Aliases
-
scipy.signal._filter_design.np_compat.eye