MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Map Thread & Inner


Chris,

One way I think of MapThread is as follows: If I wanted to use Table but
instead of having values evenly spaced I wanted some odd assortment of
values given by a list, then I really want MapThread.

If I want to combine two lists of equal length, pairwise, to get something
else then I want Inner.

These are probably the most common applications of the two commands.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/



From: Chris Chiasson [mailto:chris.chiasson at gmail.com]
To: mathgroup at smc.vnet.net


Matt, to be honest, I don't really understand the details of how
MapThread (or the others) works. I just know that when I see
expressions of a particular structure and I need to transform them,
they might be amendable to certain commands...
I then try a few of them until I get what I want. That is probably not
the best way to go about it, but, eh... o well.


--
Chris Chiasson
http://chrischiasson.com/contact/chris_chiasson



  • Prev by Date: Re: Unsorted Union
  • Next by Date: Re: regress versus fit - force through zero/force constant term to zero
  • Previous by thread: Re: Circle equation problem
  • Next by thread: Re: regress versus fit -