Algosim documentation: IsNumericEntity

IsNumericEntity

Tests if an object is a number, vector, or matrix.

Syntax

Description

IsNumericEntity(X) returns true iff X is a number, a vector, or a matrix.

Examples

IsNumericEntity(5)
true
IsNumericEntity(i^π)
true
IsNumericEntity(❨5, 1, 3❩)
true
IsNumericEntity(IdentityMatrix(100))
true
IsNumericEntity("I suspect nargles are behind it.")
false
IsNumericEntity('(1, 2, 3))
false

See also