Skip to main content

Module agm

Module agm 

Source
Expand description

Taking the AGM (arithmetic-geometric mean) of two Floats, and of Floats with Rationals.

Functionsยง

primitive_float_agm
Computes the arithmetic-geometric mean (AGM) of two primitive floats.
primitive_float_agm_rational
Computes the arithmetic-geometric mean (AGM) of two Rationals, returning the result as a primitive float.