What's the matter with this?
- To: mathgroup at smc.vnet.net
- Subject: [mg56109] What's the matter with this?
- From: Steve Gray <stevebg at adelphia.net>
- Date: Fri, 15 Apr 2005 04:48:29 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I have a list intertemp[[1]] = {{14, 17, {0.7929, 0.4366}, {2.8146, 11.3986}} and a simple function modxx[axx_] := axx[[2]] = Mod[axx[[2]], 14, 1]; When I do modxx[intertemp[[1]]] I get this: Set::setps: {14, 17, {0.792902, <<19>>}, {2.81469, 11.3986}} in assignment of part is not a symbol. What does this mean and how can I do it correctly? I must be making a very simple error. I want the 17 to become 3 with no other changes. Thank you Steve Gray
- Follow-Ups:
- Re: What's the matter with this?
- From: János <janos.lobb@yale.edu>
- Re: What's the matter with this?
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: What's the matter with this?