最近写凸优化作业,需要用到python。才发现@竟然可以用作操作符,意思是矩阵之间的乘法运算。 A = Mat([[1,3], [7,5]]) B = Mat([[6,8], [4,2]]) print(A@B)