defmatrix.pyi 451 B

12345678910111213141516
  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. __all__: list[str]
  6. def bmat(
  7. obj: str | Sequence[ArrayLike] | NDArray[Any],
  8. ldict: None | Mapping[str, Any] = ...,
  9. gdict: None | Mapping[str, Any] = ...,
  10. ) -> matrix[Any, Any]: ...
  11. def asmatrix(data: ArrayLike, dtype: DTypeLike = ...) -> matrix[Any, Any]: ...
  12. mat = asmatrix