Book
Linear Algebra
Author
Gilbert Strang
Edition
A = matrix([[1,4],[-4,1]])
print A
print "Is symmetric?", A.is_symmetric()
print "Is skew_symmetric?", A.is_skew_symmetric()
print A.transpose()==A.inverse()
if(A.transpose()==A.inverse()):
print this is orthogonal
else:
print "this is not orthogonal"
Solution by:
- phanindra,student,nmrec