adding lists term by term
- To: mathgroup at smc.vnet.net
- Subject: [mg113638] adding lists term by term
- From: "Trevor Rabey" <trevorATperfectproject.com.au at giganews.com>
- Date: Fri, 5 Nov 2010 05:14:03 -0500 (EST)
When I type this: {-(1/2),1}+{17/13,17/52} I get: Syntax::sntxf: "{-(1/2),1}+" cannot be followed by "{17/13,17/52}". Syntax::sntxi: Incomplete expression; more input is needed. But if I copy the example from the Mathematica help: {a,b}+{c,d} and replace the a,b,c,d with my numbers, it works and gives me an array added element by element. Driving me crazy. What gives? -- Trevor Rabey