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


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

Re: Through[Divide[f1, f2][x]]

From Andrzej Kozlowski <akozlowski@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Through[Divide[f1, f2][x]]
Date 2013-05-27 08:20 +0000
Message-ID <knv50b$j8o$1@smc.vnet.net> (permalink)
References <20130526090600.D7C18633A@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


On 26 May 2013, at 11:06, Ray Koopman <koopman@sfu.ca> wrote:

> Either of these will give you f1[x]/f2[x]:
> 
>  Divide@@{f1@#,f2@#}&@x
> 
>  Divide@@(#@x&)/@{f1,f2}
> 
> Sometimes it would be nice to have a "reverse map", that 
> applied each of a list of functions to a single argument, 
> instead of a single function to each of a list of arguments.

I am not sure I understand what you mean. Why doesn't Through do that?

Through[{f, g, h}[x]]

{f[x], g[x], h[x]}

Andrzej Kozlowski

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


Thread

Re: Through[Divide[f1, f2][x]] Andrzej Kozlowski <akozlowski@gmail.com> - 2013-05-27 08:20 +0000

csiph-web