Function: math[isQuadratic] - checks for a quadratic (square) matrix

Calling Sequence:

isQuadratic(A);

Parameters:

A - an array

Description:

IsQuadratic checks whether A (an array or matrix ) is a quadratic matrix. If so, it returns true, and false otherwise.

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

Examples:

> with(math):

> A := mat(`a11 a12 a13; a21 a22 a23; a31 a32 a33`);

[Maple Math]

> isQuadratic(A);

[Maple Math]

> isQuadratic(V(1, 2));

[Maple Math]

See Also:

math/isIdentity , math/isSymmetric , math/isAntiSymmetric , math/isDiagonal .

Version History:

Version 1.0 - March 16, 1998