摘要: #接上面 print(A.T) #转置 Y = matrix('5.0 7.0') Y = Y.T print(A*Y) #乘法 print(A.I) #逆矩阵 print(solve(A, Y)) #解线性方程 数组: numpy中提供了ndarry数组对象,该对象不但能方便地存储数组,而且拥有丰 阅读全文
posted @ 2020-03-14 14:56 King~~~ 阅读(125) 评论(0) 推荐(0) 编辑