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: [mg118669] Re: Converting a list to arguments for a function --- How?
  • From: AES <siegman at stanford.edu>
  • Date: Sat, 7 May 2011 07:29:42 -0400 (EDT)
  • References: <iq0lpe$2q0$1@smc.vnet.net>

In article <iq0lpe$2q0$1 at smc.vnet.net>, Virgil Stokes <vs at it.uu.se> 
wrote:

> 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?

I seem to recall that Sequence does this,  but don't have time just at 
the moment to open Mathematica and check this.


  • Prev by Date: Re: Converting a list to arguments for a function --- How?
  • 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?