Martin Rubey <[EMAIL PROTECTED]> writes:

> At least, it seems to me that from a user's perspective
> 
> f: EXPR INT -> EXPR INT := x +-> res
> 
> and
> 
> f: EXPR INT -> EXPR INT := x +-> exp(-x)
> 
> are equal.  I'll look a little more into it.

Oh no, they are not!!!  Sorry about my confusion:

(2) -> deq := differentiate(y x, x) + y x

         ,
   (2)  y (x) + y(x)

                                                    Type: Expression(Integer)
(3) -> res := first(solve(deq, y, x).basis)

          - x
   (3)  %e
                                                    Type: Expression(Integer)
(4) -> f: EXPR INT -> EXPR INT := x +-> res

   (4)  theMap(*1;anonymousFunction;0;frame0;internal)
                           Type: (Expression(Integer) -> Expression(Integer))
(5) -> f a

          - x
   (5)  %e
                                                    Type: Expression(Integer)

So, my problem actually has nothing at all to do with eval!  Happy again.

Martin



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to