MathGroup Archive 2006

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

Search the Archive

RE:Applying a list of 2D paramters to a mathematica function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68076] RE:Applying a list of 2D paramters to a mathematica function
  • From: Mark_robert.holt at kcl.ac.uk
  • Date: Fri, 21 Jul 2006 17:36:32 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Curry,

Maybe you could try a rule-based approach like the following:

In[1]:=
indices = {{a,b}, {c,d}, {e,f}}

indices/.{x_,y_}->x+y


Out[1]=
{{a,b},{c,d},{e,f}}

Out[2]=
{a+b,c+d,e+f}


Cheers,

Mark

Link to the forum page for this post:
http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=Special:Forum_ViewTopic&pid=12068#p12068
Posted through http://www.mathematica-users.org [[postId=12068]]



  • Prev by Date: Re: Reasonable integration speed? (24 hrs and counting)
  • Next by Date: General--FindRoot::nlnum error (Updated)
  • Previous by thread: Re: Applying a list of 2D paramters to a mathematica function
  • Next by thread: Re: RE:Applying a list of 2D paramters to a mathematica function