MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

question about nest


Dear Wizards
 I have a function with two variables
f[x_,a_]:=a*x*(1-x)
And I need the n-compose function
Nest[f,x,n]
But Mathematica look for a function f[x] and not f[x,a]
Is this possible to use Nest with this two variable function?
For example, I need
f[x,a], f[f[x,a],a], f[f[f[x,a],a],a] .
Later I will put many values for "a" .
Regards
Orlando Peres

        
        


  • Prev by Date: wavelets
  • Next by Date: Bug in NonlinearFit.m
  • Previous by thread: wavelets
  • Next by thread: Re: question about nest