Function: math[isAntiSymmetric] - checks whether a matrix is an anti-symmetric matrix
Calling Sequence:
isAntiSymmetric(A);
Parameters:
A - an array
Description:
isAntiSymmetric checks whether A (an array or matrix ) is an anti-symmetric matrix. If so, it returns true and false otherwise.
If the array has been defined with the antisymmetric property , then isAntiSymmetric returns true.
If the array is not a square matrix and if it has not been defined with the antisymmetric property, then is AntiSymmetric returns false.
Note that all elements on the main diagonal have to be 0.
This function is part of the math package, and so can be used only after performing the command with(math) or with(math, isAntiSymmetric).
Examples:
> with(math):
> A := mat(`0 -a 7; a 0 -8; -7 8 0`);
> isAntiSymmetric(A);
> A[1, 1] := x:
> isAntiSymmetric(A);
See Also:
math/isIdentity , math/isDiagonal , math/isSymmetric , math/isQuadratic , math/isFilled .
Version History:
Version 1.0 - March 20, 1998