Re: Postfix (//) with Options?
- To: mathgroup at smc.vnet.net
- Subject: [mg4658] Re: [mg4579] Postfix (//) with Options?
- From: Lou Talman <me at talmanl.mscd.edu>
- Date: Thu, 22 Aug 1996 03:55:11 -0400
- Sender: owner-wri-mathgroup at wolfram.com
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
==== [MESSAGE SEPARATOR] ====