MathGroup Archive 2007

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

Search the Archive

ReplaceList and //.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73644] ReplaceList and //.
  • From: Mr Ajit Sen <senra99 at yahoo.co.uk>
  • Date: Fri, 23 Feb 2007 04:47:53 -0500 (EST)

Dear MathGroup,

 Thanks to all those who responded.

  However, I must apologize for the mistake in my 2nd
 example.  Both patterns were supposed to be the same.

  I meant

 ReplaceList[a*b*c, {(x_)*(y_) -> x^y, (x_)*(y_) -> x
+  y}]

   a*b*c //. {(x_)*(y_) -> x^y, (x_)*(y_) -> x + y}

  Sorry for any inconvenience.

  Ajit

  


		
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html


  • Prev by Date: Fuction definition
  • Next by Date: Re: ToMatlab limitations
  • Previous by thread: Re: Re: Fuction definition
  • Next by thread: Computing a covariance matrix