       Re: sequence of functions

• To: mathgroup at smc.vnet.net
• Subject: [mg120168] Re: sequence of functions
• From: rych <rychphd at gmail.com>
• Date: Mon, 11 Jul 2011 06:56:58 -0400 (EDT)
• References: <201107080855.EAA28789@smc.vnet.net> <iv9eqf\$dfb\$1@smc.vnet.net>

```Yes, indeed, wrapping it with Evaluate did it. Thanks, Heike.

Bobby, f[n_][x_] :=  f[n][x] = ... results in caching for not only
each n and each x.

Dana, how did you apply FindSequenceFunction to get the direct
formula?!

Thanks
Igor

On Jul 9, 11:42 pm, Heike Gramberg <heike.gramb... at gmail.com> wrote:
>
> f = Function[x, x (1 - x)]
> f[n_] := f[n] =
>    Function[x, Evaluate[Simplify[f[n - 1][2 x] + f[n - 1][2 x - 1]]]]=
;
>
> Then
>
> f[x];
> ?f
>
> returns:
>
> Global`f
> f=Function[x,x (1-x)]
> f=Function[x\$,-2 (1-2 x\$)^2]
> f=Function[x\$,-20+64 x\$-64 x\$^2]
> f[n_]:=f[n]=Function[x,Evaluate[Simplify[f[n-1][2 x]+f[n-1][2 x-1]]]]
>
> Heike

```

• Prev by Date: Re: Incredible slow Plot
• Next by Date: Re: How to write a "proper" math document
• Previous by thread: Re: sequence of functions
• Next by thread: Re: sequence of functions