summaryrefslogtreecommitdiff
path: root/numpy/matrixlib/defmatrix.pyi
blob: 6c86ea1ef769d47249d8fb70151011f181a34210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from typing import List, Any, Sequence, Mapping
from numpy import matrix as matrix
from numpy.typing import ArrayLike, DTypeLike, NDArray

__all__: List[str]

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

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

mat = asmatrix