You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have a function that works like log_sum_exp but elementwise, so the return was also a container.
I have a similar issue with log_sum_exp where I wanted it to vector[n] a = log_sum_exp(vector[n] b, vector[n] c) across each element, however it doesn't do this type of elementwise sum. Maybe if we had a log_add_exp which I've seen in other languages.
It would be nice to have a function that works like log_sum_exp but elementwise, so the return was also a container.
Originally posted by @spinkney in stan-dev/docs#832 (comment)
The text was updated successfully, but these errors were encountered: