Skip to contents

Log-sum-exp function for matrices (row-wise)

Usage

log_sum_exp_matrix(M)

Arguments

M

A numeric matrix or advector matrix.

Value

A numeric vector of row-wise log-sum-exp.