A=matrix([[1,1+1*i],[1-1*i,2]])
a=A[0,0]
b=A[0,1]
c=A[1,1]
ac= a*c
b2= abs(b)**2
print ac
2
print b2
2
#ac=b2
#therefore A is not positive definite

Strang-316-11-d-U (last edited 2010-12-17 04:06:47 by rupampy)