Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: Re: [mg4579] Postfix (//) with Options?
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Lou Talman

Posts: 876
Registered: 12/3/04
Re: [mg4579] Postfix (//) with Options?
Posted: Aug 21, 1996 2:02 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

AES wrote:

> 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 ?

Use a pure function:

In[1]:=
Pi // N[#, 13]&
Out[1]=
3.14159265359

--Lou Talman







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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.