Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14649 > unrolled thread
| Started by | Andrzej Kozlowski <akozlowski@gmail.com> |
|---|---|
| First post | 2013-05-27 08:20 +0000 |
| Last post | 2013-05-27 08:20 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Through[Divide[f1, f2][x]] Andrzej Kozlowski <akozlowski@gmail.com> - 2013-05-27 08:20 +0000
| From | Andrzej Kozlowski <akozlowski@gmail.com> |
|---|---|
| Date | 2013-05-27 08:20 +0000 |
| Subject | Re: Through[Divide[f1, f2][x]] |
| Message-ID | <knv50b$j8o$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web