Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: best solution?

  • To: mathgroup at
  • Subject: [mg22957] Re: [mg22899] best solution?
  • From: Matt.Johnson at
  • Date: Fri, 7 Apr 2000 02:54:38 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


I don't know if this is what you are looking for, but:

In[12]:=fn[{a_, b_, c_}, x_] := a Sin[b x + c];

In[13]:=params = {{a1, b1, c1}, {a2, b2, c2}, {a3, b3, c3}};

In[14]:=fnList[x_] := Map[fn[#, x] &, params]


Out[15]={a1 Sin[3 b1 + c1], a2 Sin[3 b2 + c2], a3 Sin[3 b3 + c3]}


"Peter Weijnitz" <peter.weijnitz at> on 04/04/2000 08:41:03 PM

Subject: [mg22957]  [mg22899] best solution?

I have a function e.g F[a,b,c,x] =a Sin[b x +c]  and a number of parameter
I would like to feed my function the parameter values in an good and simple
way, how?

(Picking out the elements like k[[3,2]]=b3 e.t.c is not what I want.)

  • Prev by Date: Re: best solution?
  • Next by Date: RE: Q: Axes on top of graphics primitives?
  • Previous by thread: Re: best solution?
  • Next by thread: Help please!