摘要: ``` import numpy as np import copy a=np.mat("1 2 3;4 5 6;7 8 9") print(a) b=a b[0,0]=0 print(a) print(b) print("-"*10) ``` 输出结果 ``` [[1 2 3] [4 5 6] [ 阅读全文
posted @ 2023-05-31 18:20 雪夜羽 阅读(52) 评论(0) 推荐(0) 编辑