Getting a slightly wrong array from my function, only differs by a comma however not any value or no. of values

后端 未结 0 859
一整个雨季
一整个雨季 2020-12-05 03:04
A = [[2, 3, 5, -6],[10, 41, -3, 7],[12.5, -8, 16, 15],[10.5, 15.5, 20, -13]]
B = [60,80,100,200]
def solveLEs(A,B):
    X=np.linalg.solve(A,B)
    Y=np.sum(X)
    W=         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题