标签:nbsp bsp mat get numpy matrix nump 转换 array
s=[[4,2],[3,2],[3,1]]
A =mat(s)
A
matrix([[4, 2],
[3, 2],
[3, 1]])
ss = A.getA()
ss
array([[4, 2],
[3, 2],
[3, 1]])
标签:nbsp bsp mat get numpy matrix nump 转换 array
原文地址:http://www.cnblogs.com/wskgjmhh/p/7589042.html