[Date Index] [Thread Index] [Author Index]
Re: Problem Replacing part of NonCommutativeMultiply expresions
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!