-
-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elementwise versions of unary functions #347
Comments
See #202, which was only partially completed. |
This was blocked before due to ambiguous functions. It's fixed with a judicious application of namespace qualifications and Boost |
Stan manual v2.17 says |
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.
|
Summary:
There are functions like
log2()
andlog1p()
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:
acosh
asinh
atanh
exp2
log1m_inv_logit
log1p
log2
log_inv_logit
logit
Phi_approx
trigamma
trunc
Current Version:
v2.11.0
The text was updated successfully, but these errors were encountered: