3 ms·
To properly answer this, you'd need a healthy dose of math. Once you apply all the math, your resulting code is probably relatively simple. But justifying why
by eru 4y ago
To properly answer this, you'd need a healthy dose of math.
Once you apply all the math, your resulting code is probably relatively simple. But justifying why the simple and short code is justified is a bit more complicated.
A simple example: we have no way to uniformly sample a real number from a range in our computers. Our computers can not represent arbitrary real numbers.
So we need to sample some kind of proxy, and justify that we are getting the same answer as if sampling properly.
Or more formally: we need to estimate the error that our choice of proxy introduces, and justify that estimation.