Skip to content
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

refactor sequence views #464

Closed
bob-carpenter opened this issue Dec 15, 2016 · 3 comments
Closed

refactor sequence views #464

bob-carpenter opened this issue Dec 15, 2016 · 3 comments
Assignees

Comments

@bob-carpenter
Copy link
Contributor

bob-carpenter commented Dec 15, 2016

Summary:

We should refactor sequence views (VectorView, VectorViewMvt).

Description:

The current names and functionality are too hard to understand (and slightly buggy).

Current Version:

v2.13.0

@bob-carpenter bob-carpenter added this to the Future milestone Dec 15, 2016
@seantalts seantalts changed the title rename sequence views refactor sequence views Feb 8, 2017
@seantalts
Copy link
Member

I'm going to try to summarize the current state and what's left to do for this:

It seems like VectorView and VectorViewMvt can be summed up with three use cases:

  1. Input is either a scalar or a sequence of scalars and we'd like to use it as a sequence. This is now scalar_seq_view as of Feature/0464 refactor seqview #486. After that pull request I'll still need to replace a few more uses (in prim/scal/err), but will do that in a separate pull since they're not of the same exact form as the probability distribution use cases.
  2. Input is either some type of eigen vector or a std::vector of eigen vectors. This is what all the multivariate distributions use. Currently covered by VectorViewMvt, I propose to replace with vector_seq_view perhaps?
  3. Whatever OperandsAndPartials is doing that I haven't quite figured out but has a thread here. I am ignoring this for now.

I'm gonna go forward on the vector_seq_view I think, and hopefully we can iron out what OperandsAndPartials needs maybe in a separate ticket and/or the discourse discussion?

@bob-carpenter
Copy link
Contributor Author

bob-carpenter commented Feb 12, 2017 via email

@mcol
Copy link
Contributor

mcol commented Dec 23, 2019

VectorView and VectorViewMvt don't exist anymore.

@mcol mcol closed this as completed Dec 23, 2019
@mcol mcol removed this from the Future milestone Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants