Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15482

apply rule to Partition

From Joug Raw <jougraw@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject apply rule to Partition
Date 2013-09-20 11:06 +0000
Message-ID <l1ha7o$e$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar


Thread

apply rule to Partition Joug Raw <jougraw@gmail.com> - 2013-09-20 11:06 +0000

csiph-web