MathGroup Archive 2006

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

Search the Archive

Re: Subscript assignment incompatibility??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71166] Re: Subscript assignment incompatibility??
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 9 Nov 2006 03:40:14 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <eisgrm$nk6$1@smc.vnet.net>

Hi,

how should Mathematica find out what
Subscript[p,res][[1]]

mean, does it mean p ot does it mean the first 
element of the
*value* of Subscript[p,res] ??

Use the notation package and Symbolize[].

Regards
  Jens

"kevin_jazz" <kevinbowman at mac.com> schrieb im 
Newsbeitrag news:eisgrm$nk6$1 at smc.vnet.net...
|I have another very simple problem:
| x={{1,28},{2,28}}
| Subscript[p,res]  = x
|
| x[[1]]=x[[1]]
| {1,28}
|
| Subscript[p,res][[1]] = Subscript[p,res][[1]]
|
| \!\(Set::"setps" : \ "\!\(p\_res\) in assignment 
of part is not a
| symbol."\)
|
| So, I can't make an assignment with a variable 
that has a subscript??
| What am I missing?
|
| Thanks,
|
| Kevin
| 



  • Prev by Date: Re: Merge of Matrices
  • Next by Date: Re: Possible bug concerning a limit computation
  • Previous by thread: Re: Subscript assignment incompatibility??
  • Next by thread: Re: Subscript assignment incompatibility??