Re: Function minimization and random numbers

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Wed, 30 Jan 2008 20:09:03 -0800, Jon Harrop <usenet@xxxxxxxxxxxxxx> wrote:

I'm looking for cheap libraries that implement these two things (most likely
separately) in C#. There are a few all-encompassing numerical libraries out
there but they're too expensive. Any ideas?

Well, "you get what you pay for" comes to mind. I realize there are
exceptions, but I'm not sure this would be one of them.

How much would you expect to pay for such a library then?

I'm the wrong person to ask. But, as long as you brought it up, what do you consider "cheap"? That might help guide someone else who might know of such a library but not whether it's in a cost range you're willing pay.

Heck, if your idea of "cheap" is generous enough, you might even find someone here who'd implement it for you. :)

Mersenne twister and random number generators for different distributions,
like Gaussian.

Granted, it's been awhile. But it's my recollection that you can generate Gaussian and other non-linear distributions by appropriate iteration of linear distributions. For example, summing multiple linearly distributed random numbers gets you a Gaussian distribution (the more sums, the closer to a true Gaussian curve you get).

As for Mersenne, Wikipedia has a pseudo-code implementation of Mersenne twister. It's quite short, and I would think that if you actually want it in C#, it wouldn't take even 30-60 minutes to translate it:
http://en.wikipedia.org/wiki/Mersenne_twister#Pseudocode

Pete
.



Relevant Pages

  • Re: Automate thresholding on various grayscale images
    ... different means of thresholding, thanks for the link) I guess all I ... except I keep running out of memory. ... distributions that look log-normal:http://en.wikipedia.org/wiki/Log_normal ... In fact it's way more common than a Gaussian distribution. ...
    (comp.soft-sys.matlab)
  • Re: Automate thresholding on various grayscale images
    ... I'm sure you can do a web search for Gaussian and find lots of ... Sometimes with an image there just plain isn't any global threshold ... In fact it's way more common than a Gaussian distribution. ... I think that he said that the distributions were Cauchy-Lorentz ...
    (comp.soft-sys.matlab)
  • Re: Proof for Expected Value Problem
    ... relates to the magnitude of a pair of independent Gaussian distributions ... "Applied Control Theory for Embedded Systems" was written for you. ... Papoulis, Probability, Random Variables and Stochastic ...
    (comp.dsp)
  • Re: Delivering on multple Linux dists?
    ... depending on the distributions and on how you ... Versions of any other shared libraries you use. ... requirement for the target system. ... Talk to the OpenOffice.org folks, or the AbiSource folks, or the ...
    (comp.os.linux.development.system)
  • Re: Gaussian distribution
    ... Gaussian marginals and not joint distributions. ... Instead of assuming a Gaussian model, ... Much of what is done does NOT depend on normality. ...
    (sci.stat.math)