Re: How to apply a list of functions
- To: mathgroup at smc.vnet.net
- Subject: [mg112850] Re: How to apply a list of functions
- From: Ray Koopman <koopman at sfu.ca>
- Date: Sun, 3 Oct 2010 05:40:47 -0400 (EDT)
- References: <i89bv9$jg6$1@smc.vnet.net>
On Oct 3, 12:39 am, Sam Takoy <sam.ta... at yahoo.com> wrote: > 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 Plot[ Max[Sin@#,Cos@#]&@x, {x,-6,6}]