Alextp added the comment:
@Ezio:
of course, much of these funcs CANNOT be expressed as simple formulas. Only
with some text. I shown example descriptions for almost all- above.
--
___
Python tracker
<http://bugs.python.org/issue21
Alextp added the comment:
Without details like these it must be URLS to wikipedia or Wolfram.
Usual users don't know how to search wolfram.
--
___
Python tracker
<http://bugs.python.org/is
Alextp added the comment:
5) pvariance.
Calculates "population variance" of iterable by such formula:
pvariance([x1, x2, ..., xN], M) = ((x1 - M)**2 + ... + (xN - M)**2) / N
M is optional argument which should be value of mean([x1, ... xN]) calculated
before. If M parameter is miss
Alextp added the comment:
I wrote not ok formula for median_grouped. But i can't get idea from source.
THIS SHOWS that source code is NOT ok doc, even student can't get it
e.g. pvariance.
Calculates population variance of iterable. It's given by formula:
pvariance([x1, x2, .
Alextp added the comment:
I'm author or topic
I suggest to give simple formulas. for ex -
1) mean.
Calculates sum of all values in iterable, divided by number of elements.
E.g.
mean([x1, x2, ..., xN]) = (x1 + x2 + ... + xN) / N
2) median.
Calculates value with middle index from ite