Arithmetic-geometric mean: Difference between revisions

Content added Content deleted
Line 2,675: Line 2,675:
That is simply a copy/paste of the already existing agm method in the Number class:
That is simply a copy/paste of the already existing agm method in the Number class:
<lang smalltalk>agm:y
<lang smalltalk>agm:y
"return the arithmetic-geometric mean agm(x, y) of the receiver (x) and the argument, y.
"return the arithmetic-geometric mean agm(x, y)
of the receiver (x) and the argument, y.
See https://en.wikipedia.org/wiki/Arithmetic-geometric_mean"
See https://en.wikipedia.org/wiki/Arithmetic-geometric_mean"