Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Increasing scattered subsequence

  • To: mathgroup at
  • Subject: [mg80252] Re: Increasing scattered subsequence
  • From: "Dana DeLouis" <dana.del at>
  • Date: Wed, 15 Aug 2007 04:30:17 -0400 (EDT)

> s = Ordering@RandomReal[{0, 1}, n^2 + 1];

As a side note, the v 6 Combinatorica abandoned the more complex Compiled
version of "RandomPermutation" in favor of using the newer Function
Has the same timing as previous, just simpler.

RandomPermutation[n_Integer] := RandomSample[Range[n]]


  • Prev by Date: Re: Graphing an inequality
  • Next by Date: Re: a problem about NDSolve and NIntegrate
  • Previous by thread: Re: Increasing scattered subsequence
  • Next by thread: Reproducible kernel crash