Sponsored links: Algebra eBooks
 

Related

featurep

Run Example
(%i1)if(featurep(ssearch("%",string(linsolve([x+y=1,y-x=0],[x,y]))),integer)) then "ok" else "nio";
(%o1)                                 nio
(%i2) 
Run Example
if(featurep(ssearch("%",string(linsolve([x+y=1,x-y=0],[x,y]))),integer)) then 1 else 2;
(%o1)                                  2
(%i2) 
Run Example
if(featurep(ssearch("%",string(linsolve([x+y=1],[x,y]))),integer)) then 1 else 2;
(%o1)                                  1
(%i2) 

Related Help

Help for Featurep