in reply to Re: Random partitions?
in thread Random partitions?

For instance, what is the mean and variance for the step size? Or if there's some density metric over some interval, such as count?

I needed to generate some (eventually large) test datasets for my graphing app; so all I really needed was something that was roughly a straight line between two points, but with enough variations to allow co-planer lines to be discernible. (Ie. not overlayed.)

It's for checking that boundary, ranging, scaling & tick mark calculations etc. do sensible things with generic datasets.

So far, I'm very happy with what came out of this thread (see:Re: Random partitions? (Thanks and solution.)). With the addition of another switch, -P=2.718 the program raises the supplied number to the powers of each randomly generated value before output, thus I can test for the autoselecting of log scales.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked