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


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

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

From "Harvey P. Dale" <hpd1@nyu.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Converting a list to arguments for a function --- How?
Date 2011-05-07 11:31 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iq3ai5$fec$1@smc.vnet.net> (permalink)

Show all headers | View raw


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
______________________________________________________________________

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web