Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


AES
Posts:
72
Registered:
12/7/04


Postfix (//) with Options?
Posted:
Aug 7, 1996 3:56 AM


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 ?
I particularly want to implement Flatten[expr,1] in postfix form, because it seems more readable to have the expression (which may be lengthy) come first, then the Flatten as an afterthought (reduces the depth of brackets by one also).



