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