using the getType() command for the TABLE data type, throwthe word OTHER
What other types of data exist in Xcas outside of those listed?
Thank you
Code : Tout sélectionner
getType(5.0) [enter] NUM
getType(5) [enter] NUM
getType(3+4*i) [enter] EXPR
getType(var01) [enter] VAR
getType([9,[8,7],[6,5,4]]) [enter] LIST
getType(x+y*i) [enter] EXPR
getType(3/4) [enter] NUM
getType("Hello") [enter] STR
getType(1,2,3) [enter] LIST
getType(set[ a, b ,a, c ]) [enter] LIST
getType(poly1[ 1, -6, 11, -6 ]) [enter] LIST
getType([[1,2],[3,4]]) [enter] LIST
is_matrix([[1,2],[3,4]]) [enter] True
getType(f(x):=x+1) [enter] FUNC
phonebook_17:= table("John" : 938477566,"Jack" : 938377264,"Jill" : 947662781)
getType(phonebook_17) [enter] OTHER
getType(9999999999999999999) [enter] OTHER