python homework——the 13th week

10.1 import numpy as np import scipy.linalg as lin A=np.random.randn(20,15) b=np.random.randn(20) c,re,rand,sigma=lin.lstsq(A,b) b_=A.dot(c) print(lin.norm(b-b_)) 10.2 import numpy as np import scipy.
相關文章
相關標籤/搜索