Re: A question about function
- To: mathgroup at smc.vnet.net
- Subject: [mg49323] Re: [mg49308] A question about function
- From: DrBob <drbob at bigfoot.com>
- Date: Wed, 14 Jul 2004 07:29:28 -0400 (EDT)
- References: <200407130832.EAA09619@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
g[i_]:=Through[{a,b,c,d}@i]
g[x]
{a[x],b[x],c[x],d[x]}
Bobby
On Tue, 13 Jul 2004 04:32:40 -0400 (EDT), Feng-Yin Chang <fychang at slac.stanford.edu> wrote:
> Hi all,
> I have a small question which bother me for a while.
> For a variable i(for any data type), I want to define a function
> like
> g[i_]:={a[i],b[i],c[i],d[i]....} .
> (g,a,b,c,d,...are all functions or command)
>
> for example
> g[i]:={Max[i],Min[i]}
>
> Is it possible to gather the list of function like
> g[i_]:={a,b,c,d,..}[i] in Mathematica?
>
> It is convenient to have a list of testing different functions.
>
> Regards,
> Feng-Yin Chang
>
>
--
DrBob at bigfoot.com
www.eclecticdreams.net
- References:
- A question about function
- From: Feng-Yin Chang <fychang@slac.stanford.edu>
- A question about function