apply rule to Partition
- To: mathgroup at smc.vnet.net
- Subject: [mg131676] apply rule to Partition
- From: Joug Raw <jougraw at gmail.com>
- Date: Fri, 20 Sep 2013 07:06:57 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
I want to use rule to simplify my code. A piece of my code use Partition and I tried something like: Partition[Range[10], m] /. m -> 2 It give me error message. My real code is in fact more complicated and this way failed to give me an output. How could I make it work? Thanks.
- Follow-Ups:
- Re: apply rule to Partition
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: apply rule to Partition
- From: Adriano Pascoletti <adriano.pascoletti@uniud.it>
- Re: apply rule to Partition
- From: Itai Seggev <itais@wolfram.com>
- Re: apply rule to Partition
- From: Tomas Garza <tgarza10@msn.com>
- Re: apply rule to Partition
- From: Ulrich Arndt <ulrich.arndt@data2knowledge.de>
- Re: apply rule to Partition