Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: reverse polish notation

  • To: mathgroup at
  • Subject: [mg73165] Re: reverse polish notation
  • From: Jens-Peer Kuska <kuska at>
  • Date: Tue, 6 Feb 2007 02:42:57 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <epv2sk$886$>
  • Reply-to: kuska at


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

will be N[Sqrt[7],30]
3 // Plus[#,5] &
will be Plus[3,5]

cap'n rye 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: Re: Problem with new Mathematica Installation
  • Next by Date: Re: record intermediate steps
  • Previous by thread: Re: reverse polish notation
  • Next by thread: setting variables from within NDSolve