Here's a minimum (non)-working example: I have a function which returns a
polynomial:

mult(xs)==
  return(reduce(*,[x-z for z in xs]))

and I have another function which needs such a polynomial:

intm(xs,a,b)==
  g:=(x:Float):Float+->mult(xs)
  return(numeric(integrate(g(x),x=a..b)))

which doesn't work.  I've tried replacing the second line with

  function(mult(xs),g,x)

which works on the command line, but not in a function.  Any ideas as to
how I can get over this hump?

ever confused,
Alasdair

-- 
[image: http://www.facebook.com/alasdair.mcandrew]
<http://www.facebook.com/alasdair.mcandrew> [image:
https://plus.google.com/+AlasdairMcAndrew/posts]
<https://plus.google.com/+AlasdairMcAndrew/posts> [image:
https://www.linkedin.com/pub/alasdair-mcandrew/a/178/108]
<https://www.linkedin.com/pub/alasdair-mcandrew/a/178/108> [image:
https://twitter.com/amca01] <https://twitter.com/amca01> [image:
http://numbersandshapes.net] <http://numbersandshapes.net>
_______________________________________________
Axiom-mail mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/axiom-mail

Reply via email to