log_sum

function log_sum(x:Real[_]) -> Real

Take the logarithm of each elements of a vector and return the sum.