码迷,mamicode.com
首页 > 编程语言 > 详细

[Python] numpy.mat

时间:2017-03-24 00:14:56      阅读:204      评论:0      收藏:0      [点我收藏+]

标签:name   parameter   eve   function   python   last   matrix   utils   tab   

numpy.mat

numpy.mat(datadtype=None)
Interpret the input as a matrix.

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

Input data.

dtype : data-type

Data-type of the output matrix.

Returns:

mat : matrix

data interpreted as a matrix.

 

[Python] numpy.mat

标签:name   parameter   eve   function   python   last   matrix   utils   tab   

原文地址:http://www.cnblogs.com/KennyRom/p/6607765.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!