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

Vectorise Stan operations to replace some for loops #69

Closed
wwiecek opened this issue Jun 4, 2020 · 1 comment
Closed

Vectorise Stan operations to replace some for loops #69

wwiecek opened this issue Jun 4, 2020 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@wwiecek
Copy link
Owner

wwiecek commented Jun 4, 2020

e.g. in rubin.stan:47:

  for(k in 1:K_pooled){
    if(pooling_type == 0)
      theta_k[k] = eta[k];
    if(pooling_type == 1)
      theta_k[k] = mu[1] + eta[k]*tau[1];
  }
@wwiecek wwiecek added the enhancement New feature or request label Jun 4, 2020
@wwiecek wwiecek added this to the v0.6 milestone Jun 18, 2020
@wwiecek wwiecek changed the title Vectorise operations to replace some for loops Vectorise Stan operations to replace some for loops Feb 24, 2022
@wwiecek
Copy link
Owner Author

wwiecek commented Jun 9, 2022

Dealt with in #136

@wwiecek wwiecek closed this as completed Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant