Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

ReplaceList and //.

  • To: mathgroup at
  • Subject: [mg73644] ReplaceList and //.
  • From: Mr Ajit Sen <senra99 at>
  • 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.



The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider.

  • 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