点击运行
from scipy import linalg import numpy as np A = np.array([[3,6],[2,7]]) # 计算矩阵A的行列式 x = linalg.det(A) print(x)
运行结果 :
正在执行...