MathGroup Archive 2009

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

Search the Archive

Re: Problem Replacing part of NonCommutativeMultiply expresions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104539] Re: Problem Replacing part of NonCommutativeMultiply expresions
  • From: mathman <mstankus at gmail.com>
  • Date: Tue, 3 Nov 2009 02:56:05 -0500 (EST)
  • References: <hcl3s1$bvc$1@smc.vnet.net>

Use Fullform to see what is going on.

The following should work:

g**a**p**r**e**r**e/.NonCommutativeMultiply[a___,r,e,r,e,b___]->0]

On Nov 1, 3:59 pm, Iv=E1n Lazaro <gamins... at gmail.com> wrote:
> Dear all,
>
> I'm working with a huge amount (2000) of terms of this tipe:
> g**a**p**r**e**r**e
>
> But a lot of them are cero. The problem is that i'm not able to set
> r**e**r**e->0 in such expresions. If I do g**a**p**r**e**r**e/.r**e**r**e->0
> nothing happens.
>
> Do you have some idea?
>
> Thanks a lot!



  • Prev by Date: Finding Clusters
  • Next by Date: Re: graphic
  • Previous by thread: Re: Re: Problem Replacing part of NonCommutativeMultiply
  • Next by thread: Re: Problem Replacing part of NonCommutativeMultiply expresions