Unlike matrix, asmatrix does not make a copy if the input is already a matrix or an ndarray. Equivalent to matrix(data, copy=False).
Parameters: |
data : array_like
dtype : data-type
|
---|---|
Returns: |
mat : matrix
|
原文:http://www.cnblogs.com/KennyRom/p/6607765.html