File size: 478 Bytes
9c6594c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from collections.abc import Mapping, Sequence
from typing import Any

from numpy import matrix
from numpy._typing import ArrayLike, DTypeLike, NDArray

__all__ = ["asmatrix", "bmat", "matrix"]

def bmat(
    obj: str | Sequence[ArrayLike] | NDArray[Any],
    ldict: Mapping[str, Any] | None = ...,
    gdict: Mapping[str, Any] | None = ...,
) -> matrix[tuple[int, int], Any]: ...

def asmatrix(
    data: ArrayLike, dtype: DTypeLike = ...
) -> matrix[tuple[int, int], Any]: ...