Log in to edit a copy.
Download.
Other published documents...
Untitled
1842 days ago by s2s2111
u=vector([I, 2*I, 3*I]) # I 는 허수단위 v=vector([-1*I, I, I]) print v.hermitian_inner_product(u) # 유클리드 내적 구하기 # 앞에 오는 벡터에 대하여 켤레복소수를 취한다 # < u, v > = v.hermitian_inner_product(u) print ""
4
4
(u).norm() # 유클리드 거리 구하기
sqrt(14)
sqrt(14)
(u).norm()
sqrt(3)
sqrt(3)
(u+v).norm()
5
5