Function: math[isSymmetric] - checks whether a matrix is a symmetric matrix

Calling Sequence:

isSymmetric(A);

Parameters:

A - an array

Description:

isSymmetric checks whether A (an array or matrix ) is a symmetric matrix. If so, it returns true and false otherwise. If the array has been defined with the symmetric property , then isSymmetric returns true, as well.

This function is part of the math package, and so can be used only after performing the command with(math) or with(math, isSymmetric).

Examples:

> with(math):

> A := mat(`a b; b c`);

[Maple Math]

> isSymmetric(A);

[Maple Math]

> B := mat(`a b; 0 c`);

[Maple Math]

> isSymmetric(B);

[Maple Math]

See Also:

math/isIdentity , math/isDiagonal , math/isAntiSymmetric , math/isQuadratic .

Version History:

Version 1.0 - March 16, 1998