Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

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 




  • Prev by Date: Re: Numerical simulation
  • Next by Date: Re: MathLink and c++ compiler
  • Previous by thread: Re: suggestions for version control or backup systems?
  • Next by thread: Re: adding lists term by term