MathGroup Archive 2000

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

Search the Archive

Re: recursion

  • To: mathgroup at
  • Subject: [mg25880] Re: [mg25865] recursion
  • From: Ken Levasseur <Kenneth_Levasseur at>
  • Date: Tue, 7 Nov 2000 02:55:53 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at


The basic idea is that if exp = exp1*exp2, where * is any operation and exp1
and exp2 are subexpressions, a recursive description of the prefix form of
exp is

        * (prefix form of exp1)(prefix form of exp2)

The basis for this definition is that if any subexpression is an atom (a
number or variable) then the prefix form is the infix form.

Ken Levasseur
Math Sciences
UMass Lowell

"F.M.Brul" wrote:

> Hello,
> Can anyone explain to me what recursion means in terms of
> converting an infix notation method to an pre or postfix
> notati n method? Where van I find an example perhaps?
> I want to write an algorithm that can converts say  (3 + 4)*6 to  *6+(3 4)
> Hope this is the right group to post this question...
> Regards,
> Frank

  • References:
    • recursion
      • From: "F.M.Brul" <>
  • Prev by Date: Re:(List)DensityPlot and coloring...
  • Next by Date: Re: recursion
  • Previous by thread: recursion
  • Next by thread: Re: recursion