[back] [prev] [next] [index] [root]

 


IsMat

Returns true iff the argument is of type "KANT matrix".

Syntax:

b := IsMat(x);

boolean
  b  
  x  

Description:

no detailed description available yet


Example:


kash> M := MatSym(Z, [[1,2,3,4], [5,6,7], [8,9], [10]] );
[ 1  2  3  4]
[ 2  5  6  7]
[ 3  6  8  9]
[ 4  7  9 10]
kash> IsMat(M);
true
kash> M := [ [1,2], [3,4] ];
[ [ 1, 2 ], [ 3, 4 ] ]
kash> IsMat(M);
true
kash> M;
[1 2]
[3 4]
kash> M[1];
[1 2]
kash> M[1][1];
1
kash> IsMat(false=IsMat(IsMat(IsMat(IsMat))));
> false


<- back[back] [prev] [next] [index] [root]