substitution pattern
- To: mathgroup at yoda.physics.unc.edu
- Subject: substitution pattern
- From: leboeuf at ere.umontreal.ca (Leboeuf Martin)
- Date: Tue, 30 Nov 1993 15:03:22 -0500 (EST)
Dear mathgroupers, I am currently working with polynomials which are made up of terms of the form: p q ZETA ZETB --------------- * S[something] r (ZETA + ZETB) and I want to substitute the part in ZETx with A[p,q,r]. In order to do that, I use the following substitution command: (ZETA^p_. *ZETB^q_. *S[something])*(ZETA + ZETB)^r_. -> A[p,q,-r] but this does not work in cases where p,q or r = 0. Section 2.3.1 of the mma book by Wolfram says to look in section 2.3.9, which I did, but I still could not figure out how to achieve this goal. Does anyone out there knows how ?? thanks in advance, martin -- Martin Leboeuf CERCA - CEntre de Recherche en Calcul Applique Universite de Montreal Montreal Quebec leboeuf at ERE.UMontreal.CA