/ lib / numpy / matrixlib / defmatrix.pyi
defmatrix.pyi
 1  from collections.abc import Sequence, Mapping
 2  from typing import Any
 3  from numpy import matrix as matrix
 4  from numpy._typing import ArrayLike, DTypeLike, NDArray
 5  
 6  __all__: list[str]
 7  
 8  def bmat(
 9      obj: str | Sequence[ArrayLike] | NDArray[Any],
10      ldict: None | Mapping[str, Any] = ...,
11      gdict: None | Mapping[str, Any] = ...,
12  ) -> matrix[Any, Any]: ...
13  
14  def asmatrix(data: ArrayLike, dtype: DTypeLike = ...) -> matrix[Any, Any]: ...
15  
16  mat = asmatrix