You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			478 B
		
	
	
	
		
			Python
		
	
			
		
		
	
	
			18 lines
		
	
	
		
			478 B
		
	
	
	
		
			Python
		
	
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]: ...
 |