MathGroup Archive 2009

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

Search the Archive

Re: Problem Replacing part of NonCommutativeMultiply

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104519] Re: [mg104506] Problem Replacing part of NonCommutativeMultiply
  • From: Adriano Pascoletti <adriano.pascoletti at dimi.uniud.it>
  • Date: Tue, 3 Nov 2009 02:52:14 -0500 (EST)
  • References: <200911012258.RAA12241@smc.vnet.net>

This replaces r**e**r**e with 0:

In[5]:= g ** a ** p ** r ** e ** r ** e /. (pre___) ** r ** e ** r ** e **
(post___) :>
  pre ** 0 ** post
Out[5]= g ** a ** p ** 0


Adriano Pascoletti

2009/11/1 Iv=E1n Lazaro <gaminster at gmail.com>

> 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: Re: Problem Replacing part of NonCommutativeMultiply expresions
  • Next by Date: Re: graphic
  • Previous by thread: Re: Problem Replacing part of NonCommutativeMultiply
  • Next by thread: Re: Problem Replacing part of NonCommutativeMultiply expresions