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]]
- Follow-Ups:
- Re: RE:Applying a list of 2D paramters to a mathematica function
- From: "Nabeel Butt" <nabeel.butt@gmail.com>
- Re: RE:Applying a list of 2D paramters to a mathematica function