numpy.matrix
numpy.matrix
-
class numpy.matrix
[source] -
Returns a matrix from an array-like object, or from a string of data. A matrix is a specialized 2-D array that retains its 2-D nature through operations. It has certain special operators, such as
*
(matrix multiplication) and**
(matrix power).Parameters: data : array_like or string
If 登录查看完整内容