A question about pattern
- To: mathgroup at smc.vnet.net
- Subject: [mg53815] A question about pattern
- From: Daohua Song <ds2081 at columbia.edu>
- Date: Fri, 28 Jan 2005 02:44:04 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Dear Group, I am just struggling by the following question: I want to build a rule like this, List/.{a___,b_,c_?(#>b&),d___}->{a,2 b,3 c,d} But it doesn't work. please help me! Thanks DHSONG
- Follow-Ups:
- Re: A question about pattern
- From: yehuda ben-shimol <benshimo@bgu.ac.il>
- Re: A question about pattern
- From: DrBob <drbob@bigfoot.com>
- Re: A question about pattern