摘要: # numpy import numpy as np vector = np.array([1,2,3,4,5]) matrix = np.array([[1,2,3], [4,5,6], [7,8,9]]) print(vector) print(matrix) 以上代码分别输出一个1行5列的行向 阅读全文
posted @ 2021-12-12 01:20 苒若 阅读(91) 评论(0) 推荐(0)