MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Changing operator properties...



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