MathGroup Archive 1996

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

Search the Archive

Re: Postfix (//) with Options?

  • To: mathgroup at
  • Subject: [mg4602] Re: Postfix (//) with Options?
  • From: michael.probst at (Michael Probst)
  • Date: Wed, 21 Aug 1996 03:25:21 -0400
  • Organization: University of Innsbruck, Austria
  • Sender: owner-wri-mathgroup at

Hi !
I think you have to do it by defining a function
and then use ... //fl

michael.probst at
In article <4u9i7r$moj at>, siegman at 
>How can I use a postfix operation which has optional parameters and 
>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 ?
>I particularly want to implement  Flatten[expr,1]  in postfix
>form, because it seems more readable to have the expression (which may 
>lengthy) come first, then the Flatten as an afterthought (reduces the
>depth of brackets by one also).


  • Prev by Date: Re: Postfix (//) with Options?
  • Next by Date: If statement inside Do loop
  • Previous by thread: Re: Postfix (//) with Options?
  • Next by thread: Re: Postfix (//) with Options?