IsMatrix
Tests if an object is a matrix.
Syntax
-
IsMatrix(X)
-
X
is any object
-
Description
IsMatrix(X)
returns true
iff X
is a matrix.
Examples
IsMatrix(5)
false
IsMatrix(i^π)
false
IsMatrix(❨5, 1, 3❩)
false
IsMatrix(IdentityMatrix(100))
true
IsMatrix("I suspect nargles are behind it.")
false
IsMatrix('(1, 2, 3))
false