variable,numer behaviour



Giovanni wrote:

>
> case it's simple, but if i have a lot of variables it's difficult to
> know if a result is still symbolic for a missing value or it's just
> unevalueted. Or doing ''c,numer or ev(c,eval,numer) it will suffice in
> any case?
> 
> thanks,
>   Giovanni

numer: true$
fullmap(ev, %o<something>);

will evaluate recursively anything that can be evaluated numerically.
For example:
niobe% maxima
(%i1) a:sin(b)$

(%i2) b:cos(c)$

(%i3) c:1.2$

(%i4) a;
(%o4)                               sin(b)
(%i5) ev(a);
(%o5)                             sin(cos(c))
(%i6) numer:true;
(%o6)                                true
(%i7) %o5;
(%o7)                             sin(cos(c))
(%i8) fullmap(ev,a);
(%o8)                          .3544798670095258


-- 
Michel Talon