-
-
Notifications
You must be signed in to change notification settings - Fork 25
Fix definition of primitive matrix and clarify Hamilton matrix reference #584
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for taupe-gaufre-c4e660 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thanks @Nanakjoth for contribution! I just pushed some minor updates to the PR. |
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.
The update to use an internal {ref} ensures consistency in documentation referencing.
thanks @Nanakjoth and @HumphreyYang @Nanakjoth here is the documentation for the syntax on internal references for jupyter-book |
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.
Pull Request Overview
This pull request refines the definition of a primitive matrix and clarifies the reference to Hamilton’s transition matrix.
- Updates the primitive matrix condition to state that A^k is everywhere positive for some k.
- Changes the reference for the Hamilton matrix to use a reStructuredText reference pointing to mc_eg2.
Comments suppressed due to low confidence (1)
lectures/eigen_II.md:395
- [nitpick] To fully align with the PR description and avoid any ambiguity with Hamiltonian matrices from physics, consider updating the reference text to explicitly say 'Hamilton’s transition matrix'.
So Perron-Frobenius theorem explains why both {ref}`Imam and Temple matrix <mc_eg3>` and {ref}`Hamilton matrix <mc_eg2>` converge to a stationary distribution, which is the Perron projection of the two matrices
@@ -238,7 +238,7 @@ A = \begin{bmatrix} 0.5 & 0.1 \\ | |||
\end{bmatrix} | |||
$$ | |||
|
|||
$A$ here is also a primitive matrix since $A^k$ is everywhere nonnegative for $k \in \mathbb{N}$. | |||
$A$ here is also a primitive matrix since $A^k$ is everywhere positive for some $k \in \mathbb{N}$. |
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.
[nitpick] The updated definition appears correct; however, consider explicitly stating 'strictly positive' to align precisely with the standard mathematical definition of a primitive matrix.
$A$ here is also a primitive matrix since $A^k$ is everywhere positive for some $k \in \mathbb{N}$. | |
$A$ here is also a primitive matrix since $A^k$ is strictly positive for some $k \in \mathbb{N}$. |
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.
This PR fixes two minor issues referenced in #576:
Primitive matrix definition : Updated the condition to say$A^k$ is positive for some $k \in \mathbb{N}$ , which is the correct definition of a primitive matrix.
Hamilton matrix: Replaced the misleading term "Hamilton matrix" with "Hamilton’s transition matrix (
mc_eg2
)" to avoid confusion with Hamiltonian matrices in physics.I hope this fix was helpful, Happy to make any changes if needed — just let me know.