Hey heaviside.

What specific thing do you want to compare? If you say "closeness", then you need to say what "closeness" is.

A typical way to compare things is to use norms and a typical norm that is useful is the 2-norm where ||f,g|| = (f(x)-g(x))^2 where the norm is Integral over some region ||f,g||dx.