no progress

This commit is contained in:
2019-10-19 07:03:47 +02:00
parent 9246a88d2c
commit 6fe06f695a
2 changed files with 22 additions and 8 deletions

View File

@@ -69,13 +69,16 @@ for (idx=0; idx<4; idx++) {
return 0;
}
/* ---------------------------------------------------------------- */
/*
c = 0
s = x1
pour j de 2 à n
s = s+xj
c = c+(j xj s)2/(j(j1))
renvoyer c/n
/* d'après Wikipedia Fr :
| c = 0
| s = x1
| pour j de 2 à n
| s = s+xj
| c = c+(j xj s)2/(j(j1))
| renvoyer c/n
Mais c,a ne semble pas etre la bonne methode. Il faut aller voir :
https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance
*/