[Maxima] "fastfib" in the gf package faster than "fib"

Stavros Macrakis macrakis at alum.mit.edu
Mon Jul 21 11:05:09 CDT 2008


On Fri, Jul 18, 2008 at 9:38 PM, Richard Hennessy <rvh2007 at comcast.net>
wrote:

> It would be nice if operators and functions "thread" over lists.
>  Mathematica I think does this, at least they claim to without defining
> "thread over a list".  I think they mean one thread is created for each
> element in the list.


Threading in Mathematica<http://documents.wolfram.com/mathematica/functions/Thread>has
nothing to do with threading in the operating system sense.
RTFM <http://en.wikipedia.org/wiki/RTFM>

Threading is just an inside-out sort of map function, where f({a,b}) => {
f(a), f(b) }

And yes, map, makelist, etc. etc. have a natural parallel structure (as long
as there are no side-effects). Taking advantage of it is another matter....

              -s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20080721/4e3504df/attachment.htm 


More information about the Maxima mailing list