MathGroup Archive 2008

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

Search the Archive

Mapping and AppendTo

  • To: mathgroup at
  • Subject: [mg91719] Mapping and AppendTo
  • From: "Schettler, Martin" <MSchettler at>
  • Date: Sat, 6 Sep 2008 02:08:35 -0400 (EDT)
  • References: <g9qimb$4fg$> <>


I would like mix use of Map and AppendTo in the following way (e.g.):

M = {{0,1,2},{4,5,6,7}};

Of course, this doesn't work, because {0,1,2} is not a symbol name,etc.
Is there a way to use Hold or Sow to make this construct work?


M. Schettler

  • Prev by Date: Re: Thinking Mathematica: Any suggestions?
  • Next by Date: Rearrangement of expression
  • Previous by thread: Re: Magnetic field for a straight conductor with finite length -
  • Next by thread: Re: Mapping and AppendTo