MathGroup Archive 2007

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

Search the Archive

Re: Increasing scattered subsequence

> 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