gRowLogSums(x, startCol=1, endCol=ncol(x))
v
the value log(sum(exp(v)))
in a way that avoids overflow. This function may be useful for mixture models. This function is only efficient for a large number of rows and a smaller number of columns.
%lgspadd%-methods