MathGroup Archive 2004

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

Search the Archive

Re: Functions Mapping

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46700] Re: Functions Mapping
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 2 Mar 2004 00:14:23 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <c1qm3a$39e$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Outer[#1[#2] &, {Sin, Cos}, {x, y}]

??

Regards
  Jens

Xiaoji Liu wrote:
> 
> Suppose I have a list of operators {Sin, Cos}, and a list of
> variables {x,y},
> I want to apply {Sin,Cos} on {x,y}, and the outcome to be
> {{Sin[x],Sin[y]},{Cos[x],Cos[y]}}
> 
> I can achieve this by using Table function with a temporary counter i.
> 
> But is there any way to do this without using temporary counters?
> 
> Thanks,
> XJ


  • Prev by Date: How to combine two functions in one plot using a left and a right y-axis
  • Next by Date: Re: FindMinimum
  • Previous by thread: RE: RE: How to combine two functions in one plot using a left and a right y-axis
  • Next by thread: Re: Functions Mapping