02-04-2016, 09:00 PM
please, in the "help topics" win to adhere a new item "reserved variables" also on catalog (submenu), is hard to remember the internal names when programming
DOM_INT
DOM_FLOAT
DOM_STRING
DOM_SYMBOLIC
DOM_FUNC
DOM_LIST
etc
...
DOM_INT
DOM_FLOAT
DOM_STRING
DOM_SYMBOLIC
DOM_FUNC
DOM_LIST
etc
...
Code:
.... local l;
IF (type(g)==DOM_SYMBOLIC OR type(g)== DOM_FUNC)
THEN
l:=MAKELIST(X,X,a,b,(b-a)/n);
IF type(g)==DOM_SYMBOLIC THEN
g:=unapply(g,x);
END;