what is computationally more efficient

Jun 9, 2010 at 2:32pm
Hi there,

I want to compute a geometric average. would it be faster to multiply values and then take the nth root over the result, or to sum logs and then take exp() of the result? Thank you
Jun 9, 2010 at 2:41pm
The best and often the only way to tell is to test both variants.
However it's safe to say that a multiplication is much faster than log().
Topic archived. No new replies allowed.