Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 496942d

Browse files
committedFeb 16, 2023
Minor edits in docstring
1 parent 15c4f78 commit 496942d

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed
 

‎quantecon/markov/approximation.py

+11-8
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,17 @@ def discrete_var(A,
315315
-------
316316
mc : MarkovChain
317317
An instance of the MarkovChain class that stores the transition
318-
matrix and state values returned by the discretization method.
319-
The MarkovChain instance contains:
320-
321-
* `mc.P`: A 2-dim array containing the transition probability
322-
matrix over the discretized states.
323-
* `mc.state_values`: A 2-dim array containing the state vectors
324-
(of dimension m) as rows, which are ordered according to the
325-
`order` option.
318+
matrix and state values returned by the discretization method,
319+
in the following attributes:
320+
321+
`P` : ndarray(float, ndim=2)
322+
A 2-dim array containing the transition probability
323+
matrix over the discretized states.
324+
325+
`state_values` : ndarray(float, ndim=2)
326+
A 2-dim array containing the state vectors (of dimension
327+
m) as rows, which are ordered according to the `order`
328+
option.
326329
327330
Examples
328331
--------

0 commit comments

Comments
 (0)
Please sign in to comment.