6.8.1 type
- type(obj)
- :: Returns an integer which identifies the type of the object obj in question.
- return
- integer
- obj
- arbitrary
-
Current assignment of integers for object types is listed below.
- 0
- 0
- 1
- number
- 2
- polynomial (not number)
- 3
- rational expression (not polynomial)
- 4
- list
- 5
- vector
- 6
- matrix
- 7
- string
- 8
- structure
- 9
- distributed polynomial
- 10
- 32bit unsigned integer
- 11
- error object
- 12
- matrix over GF(2)
- 13
- MATHCAP object
- 14
- first order formula
- -1
- VOID object
-
For further classification of number, use
ntype()
.
For further classification of variable, use vtype()
.
- References
- 6.8.2
ntype
, 6.8.3 vtype
.
This document was generated
by root on March, 5 2004
using texi2html