Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg22913] Re: best solution?
  • From: "F. Mittermayr" <mitterma at linz.vai.co.at>
  • Date: Thu, 6 Apr 2000 02:04:31 -0400 (EDT)
  • Organization: Global Network Services - Remote Access Mail & News Services
  • References: <8ce9t3$14a@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

What about Sequence?

F[a_, b_, c_, x_] := a Sin[b x + c]
k = Table[{Subscript[a, i], Subscript[b, i], Subscript[c, i]}, {i, 1, 4}]
x = Table[{Subscript[d,i]},{i,1,4}]


F[ Sequence @@ k[[#]], x[[#]] ] & /@ Range[Length[k]]

Hope that helps

F. Mittermayr


Peter Weijnitz <peter.weijnitz at perimed.se> wrote in message
news:8ce9t3$14a at smc.vnet.net...
> I have a function e.g F[a,b,c,x] =a Sin[b x +c]  and a number of parameter
> triplets
> k={{a1,b1,c1},{a2,b2,c2},{a3,b3,c3},....}.
> 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.)
> /Peter
>
>
>




  • Prev by Date: RE: best solution?
  • Next by Date: Re: system of simultaneous equations
  • Previous by thread: RE: best solution?
  • Next by thread: Re: best solution?