Skip to content

Commit

Permalink
documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
awf committed Jul 22, 2015
1 parent 880b2ae commit 155eb78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions matlab/au_logsumexp.m
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
function [l, Jacobian] = au_logsumexp(M)
% AU_LOGSUMEXP Compute log(sum(exp(M))) stably
% au_logsumexp(M) = log(sum(exp(M)))
% but avoids under/overflow.
% [L, Jacobian] = au_logsumexp(M) returns the Jacobian
% au_logsumexp(M) = log(sum(exp(M)))'
% but avoids under/overflow.
% Notice that although sum operates along columns,
% L is returned as a column vector so that the Jacobian
% makes sense.
% [L, Jacobian] = au_logsumexp(M) returns the Jacobian

% awf, may13

Expand Down

0 comments on commit 155eb78

Please sign in to comment.