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

Fix math rendering in docstrings #315

Merged
merged 17 commits into from
Jul 4, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes to lss.py
  • Loading branch information
natashawatkins committed Jul 4, 2017
commit 5aeaa19448aca9de538aceeb68cb668b033384f7
10 changes: 5 additions & 5 deletions quantecon/lss.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def simulate_linear_model(A, x0, v, ts_length):

given :math:`x_0` = x0

Here :math:`x_t` and :math:`v_t` are both n x 1 and A is n x n.
Here :math:`x_t` and :math:`v_t` are both n x 1 and :math:`A` is n x n.

The purpose of separating this functionality out is to target it for
optimization by Numba. For the same reason, matrix multiplication is
Expand Down Expand Up @@ -275,15 +275,15 @@ def stationary_distributions(self, max_iter=200, tol=1e-5):
Returns
-------
mu_x_star : array_like(float)
An n x 1 array representing the stationary mean of x_t
An n x 1 array representing the stationary mean of :math:`x_t`
mu_y_star : array_like(float)
An k x 1 array representing the stationary mean of y_t
An k x 1 array representing the stationary mean of :math:`y_t`
Sigma_x_star : array_like(float)
An n x n array representing the stationary var-cov matrix
of x_t
of :math:`x_t`
Sigma_y_star : array_like(float)
An k x k array representing the stationary var-cov matrix
of y_t
of :math:`y_t`

"""
# == Initialize iteration == #
Expand Down