Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2151 > unrolled thread

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

Started by"Harvey P. Dale" <hpd1@nyu.edu>
First post2011-05-07 11:31 +0000
Last post2011-05-07 11:31 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Converting a list to arguments for a function --- How? "Harvey P. Dale" <hpd1@nyu.edu> - 2011-05-07 11:31 +0000

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

From"Harvey P. Dale" <hpd1@nyu.edu>
Date2011-05-07 11:31 +0000
SubjectRe: Converting a list to arguments for a function --- How?
Message-ID<iq3ai5$fec$1@smc.vnet.net>
Virgil:

	f@@{4,1,1}

	Best,

	Harvey

-----Original Message-----
From: Virgil Stokes [mailto:vs@it.uu.se]
Sent: Friday, May 06, 2011 7:25 AM
Subject:  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
______________________________________________________________________

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web