Re: Converting a list to arguments for a function --- How?
- To: mathgroup at smc.vnet.net
- Subject: [mg118679] Re: Converting a list to arguments for a function --- How?
- From: Heike Gramberg <heike.gramberg at gmail.com>
- Date: Sat, 7 May 2011 07:31:30 -0400 (EDT)
Apply[f,list]
or in shorthand:
f @@ list
Heike
On 6 May 2011, at 12:24, Virgil Stokes 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?
>
>
>
>