Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

lists of variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58156] lists of variables
  • From: Heath Gerhardt <heathgerhardt at hotmail.com>
  • Date: Mon, 20 Jun 2005 05:21:33 -0400 (EDT)
  • Organization: Department of Computer Science, University of Calgary
  • Sender: owner-wri-mathgroup at wolfram.com

I need to make lists of variables, for example

{t1,t2,t3}

but have not been able to figure out how to make Mathematica do this. 
Tried using

Array[t,3]

which gives

{t[1],t[2],t[3]}

but then I don't know how to set the t[i]'s in expressions similar to

F[t[1]_,t[2]_,t[3]_]:=Cos[t[1]+t[2]-t[3]]

thanks in advance
Heath


  • Prev by Date: Re: New Line/CR
  • Next by Date: Re: Nested Commutators
  • Previous by thread: Re: field line with NDSolve - attachment on www
  • Next by thread: Re: lists of variables