MathGroup Archive 2011

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118666] Converting a list to arguments for a function --- How?
  • From: Virgil Stokes <vs at it.uu.se>
  • Date: Fri, 6 May 2011 07:24:34 -0400 (EDT)

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?





  • Prev by Date: Re: and color via PlotStyle
  • Next by Date: Re: how to apply Position repeatedly without a loop?
  • Previous by thread: How can I set a dynamic global via a Locator
  • Next by thread: Re: Converting a list to arguments for a function --- How?