Log in to edit a copy.
Download.
Other published documents...
Ch-7-Prob-14-new-이기연
2249 days ago by matrix
x=vector([-1,1,2,4]) a=vector([3,3,1,0]) x1=(x.inner_product(a))/(a.inner_product(a))*a x2=x-x1 print x1 print print x2 print print x==x1+x2 # Checking if x=x1+x2
(6/19, 6/19, 2/19, 0) (-25/19, 13/19, 36/19, 4) True
(6/19, 6/19, 2/19, 0) (-25/19, 13/19, 36/19, 4) True