CoCoA:IsSymmetric

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

IsSymmetric

checks if a matrix is symmetric

Description

This function tests whether the square matrix M is symmetric.

Example

  M := Mat([
           [1, 2, 3],
           [2, 4, 5],
           [3, 5, 6]
           ]);
  IsSymmetric(M);
TRUE
-------------------------------

Syntax

IsSymmetric(M: MAT): BOOL
   <type>matrix</type>
   <type>boolean</type>

IsAntiSymmetric