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
There are functions like log2() and log1p() that are still not vectorized for elementwise application to containers.
Description:
All of our unary functions should be vectorized. Review the index of the manual and make sure every unary function is vectorized. Here are the ones for this issue:
This was blocked before due to ambiguous functions. It's fixed with a judicious application of namespace qualifications and Boost enable_if and disable_if qualifications. Now that I have log1p working I should be able to knock off the rest in no time. It will not require reverse-mode specializations as suggested in #272 and #271 (now closed).
Yes, but it's going slowly. We should just vectorize that function (and the ^ syntax to go with it) rather than trying the general solution which Rayleigh Lei is working on.
Activity
bob-carpenter commentedon Aug 18, 2016
See #202, which was only partially completed.
bob-carpenter commentedon Aug 18, 2016
See also #272 for
logit()and #271 forlog1m_inv_logitbob-carpenter commentedon Aug 28, 2016
This was blocked before due to ambiguous functions. It's fixed with a judicious application of namespace qualifications and Boost
enable_ifanddisable_ifqualifications. Now that I havelog1pworking I should be able to knock off the rest in no time. It will not require reverse-mode specializations as suggested in #272 and #271 (now closed).[-]vectorizing remaining unary functions[/-][+]elementwise versions of unary functions[/+]MatsuuraKentaro commentedon Oct 18, 2017
Stan manual v2.17 says
powis not vectorized yet. Do you have a plan?bob-carpenter commentedon Oct 19, 2017