Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*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 2002

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

Search the Archive

Getting symbols out of list returned by solve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37328] Getting symbols out of list returned by solve
  • From: phry420 at yahoo.com (Sam)
  • Date: Wed, 23 Oct 2002 02:57:27 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

This may be really simple but I am having trouble setting the
variables to the values returned by solve.  If
solution={S0 -> 0,S1 -> 5....}the numbers of S# are subscripts
I can get to the idivdual parts with 
solution[[1]][[1]] and solution[[1]][[2]] but when I try to set the
one equal to the other I get this error
Set::"setps": solution[[1]] in assignment of part is not a symbol."
What is going on and how can I fix this?


  • Prev by Date: Some speedups
  • Next by Date: Re: Raising Contour Plot Graphics to 3D
  • Previous by thread: Some speedups
  • Next by thread: Re: Getting symbols out of list returned by solve