|
[Date Index]
[Thread Index]
[Author Index]
Re: Changing operator properties...
- To: mathgroup@smc.vnet.net
- Subject: [mg10928] Re: Changing operator properties...
- From: Paul Abbott <paul@physics.uwa.edu.au>
- Date: Thu, 12 Feb 1998 20:16:10 -0500
- Organization: University of Western Australia
- References: <6brhbd$ef6@smc.vnet.net>
dyke@stiles.ece.usu.edu@cc.usu.edu wrote:
> Is there any way to change the Square operator from prefix to infix?
Not quite sure what you want? Here are prefix and postfix
implementations of the Square operator:
In[1]:= Power[#,2]& @ x
Out[1]=
2
x
In[2]:= x // Power[#,2]&
Out[2]=
2
x
Cheers,
Paul
____________________________________________________________________
Paul Abbott Phone: +61-8-9380-2734
Department of Physics Fax: +61-8-9380-1014
The University of Western Australia Nedlands WA 6907
mailto:paul@physics.uwa.edu.au AUSTRALIA
http://www.pd.uwa.edu.au/~paul
God IS a weakly left-handed dice player
____________________________________________________________________
Prev by Date:
Re: Exporting animations to MPEG or AVI?
Next by Date:
Re: Re: Formatting posts
Prev by thread:
Changing operator properties...
Next by thread:
Notebook Tutorial
|