Re: Converting a list to arguments for a function --- How?
- To: mathgroup at smc.vnet.net
- Subject: [mg118670] Re: Converting a list to arguments for a function --- How?
- From: Yves Klett <yves.klett at googlemail.com>
- Date: Sat, 7 May 2011 07:29:53 -0400 (EDT)
- References: <iq0lpe$2q0$1@smc.vnet.net>
Hi,
probably answer no.200 with redundant content on this, but:
look at Apply or @@:
f @@ {4, 1, 1}
f[4, 1, 1]
Regards,
Yves
Am 06.05.2011 13:24, schrieb Virgil Stokes:
> 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?
>
>
>
>