create a function



On Mon, Sep 27, 2010 at 5:45 AM,  <Paul.Lennon at beatles.com> wrote:

> ??? I try to contruct a function? real -> function.
>
> ??? s(o):=lambda([m],2*m-o);
>
> where o and m are liste of two reals don't work.

Not sure what you want. How about this?

s (o) := buildq ([o], lambda ([m], 2*m - o));

s ([a, b]);
 => lambda([m], 2 m - [a, b])

s ([a, b]) ([x, y]);
 => [2 x - a, 2 y - b]

HTH

Robert Dodier