Geometric (multiplicative) version of the function f

gm(f)