log_sum function log_sum(x:Real[_]) -> Real Take the logarithm of each element of a vector and return the sum.