MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

apply rule to Partition

  • To: mathgroup at
  • Subject: [mg131676] apply rule to Partition
  • From: Joug Raw <jougraw at>
  • Date: Fri, 20 Sep 2013 07:06:57 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

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?

  • Prev by Date: Re: Writing numeric data to CSV does not write final EOL
  • Next by Date: Extract columns based on their the title in header
  • Previous by thread: NDSolve and memory usage
  • Next by thread: Re: apply rule to Partition