List manipulation?
- To: mathgroup at smc.vnet.net
- Subject: [mg128288] List manipulation?
- From: Andreas Talmon l'Armée at smc.vnet.net
- Date: Fri, 5 Oct 2012 02:48:07 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <20121004034155.8617868D2@smc.vnet.net>
Hi all, I got a problem with List manipulation. I have the following list item: a = -Subscript[50, 5] and I would like to change the value of 50 to 360-50 and also change the sign to +. First I tried to change the sign and then the value and I got an outcome I didn't understand. Doing the other way round I get the outcome I expected. Does anybody know what the difference is? Here is the Example file: http://dl.dropbox.com/u/4920002/Example.nb a = -Subscript[50, 5] a[[2, 1]] = 360 - a[[2, 1]] a[[1]] = -1*a[[1]] a b = -Subscript[50, 5] b[[1]] = -1*b[[1]] b[[1]] = 360 - b[[1]] b -- Andreas Talmon l'Armée TU-Darmstadt Fachgebiet Strukturmechanik Hochschulstraße 1 06151-16 6467
- References:
- Deleting Palettes
- From: rchipman@optics.arizona.edu
- Deleting Palettes