# pouët.net

Go to bottom

category: residue [glöplog]

Just so you know.
added on the 2008-11-21 00:04:58 by trc_wm
added on the 2008-11-21 00:10:09 by krabob
added on the 2008-11-21 00:29:03 by noouch
Haha, good one, noouch!

added on the 2008-11-21 09:13:20 by Blueberry
added on the 2010-02-05 12:48:50 by trc_wm
added on the 2010-02-05 13:47:50 by krabob

...

added on the 2010-02-05 13:52:13 by krabob
added on the 2010-02-05 13:57:17 by krabob
added on the 2010-02-05 15:50:27 by RetroVM
Where was Einstein's 1st wife?
added on the 2010-02-05 16:24:24 by xernobyl
This is how I build gaussian coefficients
Code:``` int *gauss_coef; void tack_line(int offset, int depth) { int a, b, k; for(k = 0;k< depth; k++) { if( (offset - (depth -1 ) + k) == offset) a = 0; else a = gauss_coef[offset - (depth-1) + k]; if( (offset - (depth-1) +k -1) < (offset - (depth-1))) b = 0; else b = gauss_coef[offset - (depth-1)+k-1]; gauss_coef[k+offset] = a+b; } } void build_coef(int depth) { int i,j, k; j = 0; for(i = 0;i<depth;i++) j+=i; gauss_coef = (int *)malloc(j * sizeof(int)); gauss_coef[0] = 1; j = 1; for(i = 2; i< depth;i++) { tack_line(j, i); j+=i; } } ```
added on the 2010-02-05 16:56:30 by sigflup
sigflup, that is pretty much how i would do it also.
added on the 2010-02-05 17:34:56 by xrs
xrs, in ft2? :)
You guys suck. I have a statistics oral exam on monday, my 3rd year trying to pass that stupid subject, and i'm studying since today morning nonstop. I come to pouet for some relaxation and this is on to of the BBS...

:(
added on the 2010-02-05 20:21:28 by Movi
Oh, and btw that image at the top is about the 3-sigma rule, which is based on Tchybyszews inequality
added on the 2010-02-05 20:23:11 by Movi
I predict that, in contrary to what the thread name says, the actual distribution of posts in this thread over time will be more poisson-like than gaussian.
added on the 2010-02-05 20:25:40 by ryg
added on the 2010-02-05 20:35:00 by pommak
pommak, I can't agree more. :)
added on the 2010-02-05 20:47:11 by Zavie
added on the 2010-02-07 10:48:14 by pohar
added on the 2010-02-07 22:18:23 by bdk

added on the 2010-02-07 22:34:23 by rudi
its mode looks like...
added on the 2010-07-21 14:19:40 by ulrick
There's a curve @ the top.
added on the 2010-07-21 14:47:32 by ringofyre