MathGroup Archive 2011

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

Search the Archive

Re: Converting a list to arguments for a function --- How?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118678] Re: Converting a list to arguments for a function --- How?
  • From: "Harvey P. Dale" <hpd1 at nyu.edu>
  • Date: Sat, 7 May 2011 07:31:19 -0400 (EDT)

Virgil:

	f@@{4,1,1}

	Best,

	Harvey

-----Original Message-----
From: Virgil Stokes [mailto:vs at it.uu.se]
Sent: Friday, May 06, 2011 7:25 AM
To: mathgroup at smc.vnet.net
Subject: [mg118678] [mg118666] Converting a list to arguments for a function ---
How?

Suppose I have a list,

list == {4,1,1}

and I wish to use it as follows

f[4,1,1]

Is there a simple way (without looping through the elements list) to
transfer
the elements of list to the arguments for f?





______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


  • Prev by Date: Re: and color via PlotStyle
  • Next by Date: Re: Converting a list to arguments for a function --- How?
  • Previous by thread: Re: Converting a list to arguments for a function --- How?
  • Next by thread: Re: Converting a list to arguments for a function --- How?