string, and vector as arg for assume() cmd

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 562
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

string, and vector as arg for assume() cmd

Message par compsystems » ven. sept. 14, 2018 6:58 pm

Hello, from the output that returns DOM_X all serve as arguments, less string, and vector why?

Code : Tout sélectionner

DOM_FLOAT();assume(a,real); DOM_FUNC();assume(b,func); DOM_INT();assume(c,integer); DOM_IDENT();assume(c,identifier); DOM_RAT();assume(d,rational); DOM_SYMBOLIC();assume(ee,expression);
returns
[real,real, func,func, integer,integer, identifier,identifier, rational,rational, expression,expression ]

DOM_LIST();assume(f,vector);DOM_STRING();assume(f,string)
returns
"Invalid purgenoassume 0 Error: Bad Argument Value"

compsystems
Messages : 562
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: string, and vector as arg for assume() cmd

Message par compsystems » mar. sept. 18, 2018 12:30 pm

In other words, to give uniformity to the words "real", "integer", "rational" ..., xcas should accept "vector" and "string"

Répondre