MathGroup Archive 2007

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

Search the Archive

Re: reverse polish notation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73118] Re: [mg73099] reverse polish notation
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 4 Feb 2007 06:17:05 -0500 (EST)
  • Reply-to: hanlonr at cox.net

Sqrt[7]//N[#,30]&

2.64575131106459059050161575364

3//Plus[#,5]&

8


Bob Hanlon

---- cap'n rye <jacksiegrist at yahoo.com> wrote: 
> Is there a way to extensively use postfix notation for input in
> Mathematica? I know you can enter F[x] as x//F, but I can't seem to
> make it work for multiple arguments. For example N[Sqrt[7]] can be
> input as 7//Sqrt//N, but I can't figure out how to input N[Sqrt[7],30]
> or even Plus[3,5]. Is this type of input not really supported? Is
> there a way to work around it? Thanks for your help.
> 


  • Prev by Date: Re: Re: rather complicated NonlinearFit
  • Next by Date: Re: Limit question
  • Previous by thread: Re: reverse polish notation
  • Next by thread: Re: reverse polish notation