Skip to content

Commit

Permalink
DOC: Modify docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamad committed Sep 26, 2017
1 parent 53b332d commit 5304d29
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions quantecon/markov/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,12 +474,8 @@ def simulate_indices(self, ts_length, init=None, num_reps=None,
Returns
-------
X : ndarray(ndim=1 or 2)
Array containing the sample path(s), of shape (ts_length,)
if init is a scalar (integer) or None and num_reps is None;
of shape (k, ts_length) otherwise, where k = len(init) if
(init, num_reps) = (array, None), k = num_reps if (init,
num_reps) = (int or None, int), and k = len(init)*num_reps
if (init, num_reps) = (array, int).
Array containing the state values of the sample path(s). See
the `simulate` method for more information.
"""
random_state = check_random_state(random_state)
Expand Down Expand Up @@ -565,8 +561,12 @@ def simulate(self, ts_length, init=None, num_reps=None, random_state=None):
Returns
-------
X : ndarray(ndim=1 or 2)
Array containing the state values of the sample path(s). See
the `simulate` method for more information.
Array containing the sample path(s), of shape (ts_length,)
if init is a scalar (integer) or None and num_reps is None;
of shape (k, ts_length) otherwise, where k = len(init) if
(init, num_reps) = (array, None), k = num_reps if (init,
num_reps) = (int or None, int), and k = len(init)*num_reps
if (init, num_reps) = (array, int).
"""
if init is not None:
Expand Down

0 comments on commit 5304d29

Please sign in to comment.