squarep INDEX

SQUAREP _ _ _ _ _ _ _ _ _ _ _ _ operator

syntax:

squarep(<matrix>)

<matrix> :- a matrix.

squarepis a predicate that returns t if the <matrix> is square and nil otherwise.

examples:



squarep(mat((1,3,5))); 

  nil 


squarep(A);
t

Related functions: matrixp, symmetricp.