MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: don't understand #

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28835] RE: [mg28813] don't understand #
  • From: "Harvey P. Dale" <hpd1 at nyu.edu>
  • Date: Tue, 15 May 2001 00:59:07 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Borut:
	Thread[f[x,{1,2,3},{a,b,c}]] does what you want.
	Best,
	Harvey
Professor Harvey P. Dale
Director
National Center on Philanthropy and the Law
New York University School of Law
Room 206A
110 West 3rd Street
New York, N.Y. 10012-1074


 -----Original Message-----
From: 	Borut L [mailto:borut at email.si] 
To: mathgroup at smc.vnet.net
Sent:	Monday, May 14, 2001 1:33 AM
To:	mathgroup at smc.vnet.net
Subject:	[mg28813] don't understand #

Hi,

I can't solve this one:

I want a function f to map on two lists sequently... like Table!

smth. like

f[x,#(1st),#(2nd)]&/@{{1,2,3},{a,b,c}}

should produce {f[x,1,a],f[x,1,b],...f[x,3,c]}



Please help. Thank,

Borut Levart




  • Prev by Date: Re: don't understand #
  • Next by Date: Re: column * row ??
  • Previous by thread: Re: don't understand #
  • Next by thread: Re: don't understand #