Operations on algorithms - the logarithm of the product and the logarithm of the power