| Author |
Comment/Response |
Furkan
|
02/26/05 10:33am
I have a code like
EvalAll[sys_]:=Module[{G1=sys,in=input},
...
]
whereas sys is a list of some variables. and the last cell of the list sys can have only two values
1. "Add"
2. "Multiply"
NOW, if we write codes like;
G1={{a,b,"Multiply"},{c,{e,f,"Add"},"Multiply"},"Add"}
C=EvalAll[G1];
(**)
I want the result C to be;
C=(a*b)+(c*(e+f))
Any suggestions?
URL: , |
|