substitution rules and patterns
- To: mathgroup at smc.vnet.net
- Subject: [mg3410] substitution rules and patterns
- From: Susan Rempe <rempe at euclid.chem.washington.edu>
- Date: Mon, 4 Mar 1996 02:35:57 -0500
- Sender: owner-wri-mathgroup at wolfram.com
Could someone tell me why the first substitution rule
works and the second doesn't----
In[70]:= (c^2)^(d/2)/.{(a_^2)^(b_ /2)->a^b}
Out[70]= c^d
In[71]:= (c^2)^(5/2)/.{(a_^2)^(b_ /2)->a^b}
Out[71]= (c^2)^(5/2)
Thanks in advance,
Susan Rempe
rempe at u.washington.edu
==== [MESSAGE SEPARATOR] ====