Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

bug in Partition?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65679] bug in Partition?
  • From: "Chris Chiasson" <chris.chiasson at gmail.com>
  • Date: Fri, 14 Apr 2006 04:32:04 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Partition[Range[11], 3, 3, {1, 1}, Hold[]]

the output is

{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}, {10, 11}}

I would expect

{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}, {10, 11, Hold[]}}

Might this be because of a ReleaseHold somewhere in the implementation
of Partition?

(Ver 5.2, Windows)


  • Prev by Date: Re: A conditional random number generation problem (please help me!)
  • Next by Date: Re: A conditional random number generation problem (please help me!)
  • Previous by thread: Re: FindFit / NonlinearFit Problems
  • Next by thread: Re: bug in Partition?