MathGroup Archive 1995

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

Search the Archive

Re: Recursion problem?

  • To: mathgroup at
  • Subject: [mg1567] Re: Recursion problem?
  • From: bruck at (Ronald Bruck)
  • Date: Sat, 24 Jun 1995 06:59:32 -0400
  • Organization: University of Southern California, Los Angeles, CA

In article <3sg44d$8ji at> bruck at (Ronald Bruck) writes:
>Can anyone tell me what in the world Mathematica is doing with the following

Well, to answer my own question, here's why not:

>weight[m_, n_, a_] := weight[p, q, a] = 

If you want it to remember values, you shouldn't stick LOCAL variables there!
That p, q should be m, n.

Arrgh!  A bloody typo!

Now it works.

--Ron Bruck


  • Prev by Date: Re: Fitting data on a vertical line
  • Next by Date: Recursion problem?
  • Previous by thread: Re: Fitting data on a vertical line
  • Next by thread: Recursion problem?