Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: How to apply a list of functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112874] Re: How to apply a list of functions
  • From: "David Park" <djmpark at comcast.net>
  • Date: Mon, 4 Oct 2010 06:07:10 -0400 (EDT)

{Sin, Cos}[x] // Through

Now try:

{3 Sin, -5 Cos}[x] // Through 


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: Sam Takoy [mailto:sam.takoy at yahoo.com] 


Hi,

As a follow up to my question about apply {Sin, Cos} to x, I came up 
with the tasteless

Map[Apply[#, {x}] &, {Sin, Cos}]

but I expect that the pros in this ng will be able to improve upon it.

Thanks,

Sam



  • Prev by Date: Re: How to apply a list of functions?
  • Next by Date: suggestions for version control or backup systems?
  • Previous by thread: Re: How to apply a list of functions
  • Next by thread: Re: How to apply a list of functions