/// The geometric mean. Used internally.
The geometric mean. Used internally.
The geometric mean . Used internally .
fn geo_mean_of_2(a: &Decimal, b: &Decimal) -> Decimal {
    // TODO: This can overflow unnecessarily. We should keep this in an internal representation until
    //       absolutely necessary to convert back.
    (a * b).sqrt().unwrap()
}
fn geo_mean_of_2 ( a : & Decimal , b : & Decimal ) -> Decimal { // TODO: This can overflow unnecessarily. We should keep this in an internal representation until //       absolutely necessary to convert back. ( a * b ) . sqrt ( ) . unwrap ( ) }
The geometric mean.
The geometric mean .
a
&Decimal
b
&Decimal