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 1996

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

Search the Archive

Postfix (//) with Options? (SUMMARY)

  • To: mathgroup at
  • Subject: [mg4610] Postfix (//) with Options? (SUMMARY)
  • From: siegman at (AES)
  • Date: Wed, 21 Aug 1996 03:25:27 -0400
  • Organization: Stanford University
  • Sender: owner-wri-mathgroup at

I inquired:

>  How can I use a postfix operation which has optional parameters and specify
>  the parameters in the postfix?  For example, how can I write   N[expr,k]  
>  as   expr // N  plus something to express a nondefault value for k ?

and got two answers:

1) Scott.AHill at suggested using infix notation, like:


2) Paul Hinton <paulh at suggested a "pure function" approach:

      Pi // N[#,10]&

Thanks to both.


  • Prev by Date: Re: The farthest apart points problem
  • Next by Date: MacWEEK article/help needed
  • Previous by thread: Re: Please help quick!
  • Next by thread: MacWEEK article/help needed