The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Postfix (//) with Options?
Replies: 2   Last Post: Aug 21, 1996 2:12 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 72
Registered: 12/7/04
Postfix (//) with Options?
Posted: Aug 7, 1996 3:56 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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).

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.