Skip to content

Commit

Permalink
Docstring fix (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
junpenglao authored Dec 8, 2023
1 parent 7297b36 commit 540db41
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions blackjax/smc/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ class SMCState(NamedTuple):
being an array of size `(n_particles, ...)`.
Examples (three particles):
- Single univariate posterior:
[ Array([[1.], [1.2], [3.4]]) ]
- Single bivariate posterior:
[ Array([[1,2], [3,4], [5,6]]) ]
- Two variables, each univariate:
[ Array([[1.], [1.2], [3.4]]),
Array([[50.], [51], [55]]) ]
- Two variables, first one bivariate, second one 4-variate:
[ Array([[1., 2.], [1.2, 0.5], [3.4, 50]]),
Array([[50., 51., 52., 51], [51., 52., 52. ,54.], [55., 60, 60, 70]]) ]
- Single univariate posterior:
[ Array([[1.], [1.2], [3.4]]) ]
- Single bivariate posterior:
[ Array([[1,2], [3,4], [5,6]]) ]
- Two variables, each univariate:
[ Array([[1.], [1.2], [3.4]]),
Array([[50.], [51], [55]]) ]
- Two variables, first one bivariate, second one 4-variate:
[ Array([[1., 2.], [1.2, 0.5], [3.4, 50]]),
Array([[50., 51., 52., 51], [51., 52., 52. ,54.], [55., 60, 60, 70]]) ]
"""

particles: ArrayTree
Expand Down

0 comments on commit 540db41

Please sign in to comment.