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

Alegbra Solver References #2380

Closed
charlesm93 opened this issue Aug 14, 2017 · 6 comments
Closed

Alegbra Solver References #2380

charlesm93 opened this issue Aug 14, 2017 · 6 comments

Comments

@charlesm93
Copy link
Contributor

Summary:

In response to @avehtari in issue #2300, I would like to doc which algorithm is used and reference the library we used. In addition, they are a few errors in the doc we need to correct, see http://discourse.mc-stan.org/t/algebra-solver-details/1553/8.

Description:

I will correct the errors Aki picked up on (mostly in the example code: need to replace a real[] with an int[] and add the function's name when calling the algebraic solver). In addition, I propose adding at the end of chapter 46, a brief section entitled "algorithmic details" with references.

Reproducible Steps:

NA

Current Output:

NA

Expected Output:

NA

Additional Information:

NA

Current Version:

v2.16.0

@bob-carpenter
Copy link
Member

  • add chapter about algorithm in Part VII : Built-in functions (like the ODE chapter)
  • make sure it gets added to the index

If you want to go into more detail, you could add a new chapter Part VI, Algorithms and Implementations.

@charlesm93
Copy link
Contributor Author

  • add chapter about algorithm in Part VII : Built-in functions (like the ODE chapter)
  • make sure it gets added to the index

The chapter in Part VII was already there. I added a section, entitled algorithmic details, with the references @avehtari may have been looking for. I think I corrected all the errors, regarding the function's signature (really sorry I missed some, I really thought I had them all after @bob-carpenter 's first review).

@charlesm93
Copy link
Contributor Author

See pull request #2382.

@charlesm93
Copy link
Contributor Author

I'll repost here, since this has not been closed.

Michael spotted an error in the manual in the description of the Algebraic Solver. It's a minor typo in section 20.2:

real[] x_i) {  // data (integer)

Obviously, real[] should be int[]. This typo escape my last inspection. The other signatures for the algebraic solver look fine.

@bob-carpenter
Copy link
Member

Should this issue be closed? Will that patch in the manual be part of it? If not, you can always report bugs or fixes for the manual in the next manual issue.

@charlesm93
Copy link
Contributor Author

I'd say the issue can be closed once pull request #2403 has been accepted. Next time, I'll report issues in the manual issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants