from org.ejml.data import DenseMatrix64F
from org.ejml.ops import MatrixFeatures
A=DenseMatrix64F(2,2)
A.set(0,1,2)
A.set(1,0,-2.0000000001)
A.print()
if MatrixFeatures.isSkewSymmetric(A,1e-8):
print "Is skew symmetric!"
else:
print "Should be skew symmetric!"
Ads help maintain this website.