x invalid syntax, that's the error.
The program is supposed to return 1 if the matrix is symmetric, -1 if is skew symmetric
and 0 in all other cases.
I have also changed a(x) to just x
and b(y) to y.
The program is supposed to return 1 if the matrix is symmetric, -1 if is skew symmetric
and 0 in all other cases.
I have also changed a(x) to just x
and b(y) to y.