-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
Feature/issue 202 vectorize all #399
Conversation
I couldn't add |
I wasn't sure how this pull request was supposed to help with only defining a |
I'm confused too. Do those headers all exist? |
I'll change the description, but I was adding the functions already vectorized in #202. In that huge pull request, I forgot to add those functions to |
I was looking at this and realized that I hadn't added the headers to |
When I tried adding the function signature test for the matrix form of Indeed, I just tried adding the function signature test for the matrix form of So, if I can get this pull request in, minus the two functions I have had trouble adding to |
|
Actually, that's already merged, so you should update and use stan::math::round. |
|
…re/issue-202-vectorize-all
(1) Thanks. You only get std::round in C++11. But it's built into some (2) I see. That's OK. They should go in the alphabetical
|
I updated round to use |
I'm OK with this merging---I can fix the merge conflict it'll But what I don't see is how you can get away with putting
|
I'm curious what you mean by that. If I include the vectorized version of
If I go into
If I look at |
The fundamental problems are:
I have the basic functions all sorted in a pull request that's I'd suggest just working on a pull request to get the rest of |
Yup. I need to work on that multiple translation unit thing.
|
I see. Thanks for letting me know.
That sounds good. Could I get this pull request merged then? I currently get a make error 252 when I try to vectorize in Stan the functions that are vectorized in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Submisison Checklist
./runTests.py test/unit
make cpplint
Summary:
This pull request is to add the headers for the functions vectorized in #202 to
stan/math/prim/mat.hpp
so that the vectorized functions can be exposed in Stan.Intended Effect:
None to users. Internally, I added the headers to
stan/math/prim/mat.hpp
.How to Verify:
Check that vectorized functions are added correctly and tests still pass.
Side Effects:
None.
Documentation:
None needed.
Reviewer Suggestions:
Copyright and Licensing
Per Michigan's copyright laws, Rayleigh Lei is the copyright holder.
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: