MathGroup Archive 2009

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

Search the Archive

Assigning Values to Many Symbols at Once

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101699] Assigning Values to Many Symbols at Once
  • From: Gregory Lypny <gregory.lypny at videotron.ca>
  • Date: Tue, 14 Jul 2009 08:00:06 -0400 (EDT)

Hello everyone,

I can create a bunch of symbols on the fly using the Symbol command,  
as in

	Table[Symbol["x" <> ToString[i]], {i, 5}]

to get

	{x1,x2,x3,x4,x5}

But how can I assign values to these all at once?

Regards,

	Gregory


  • Prev by Date: Horizon profile from binary array
  • Next by Date: RegularExpression bug?
  • Previous by thread: Horizon profile from binary array
  • Next by thread: Re: Assigning Values to Many Symbols at Once