Skip to content

Conversation

@oyamad
Copy link
Member

@oyamad oyamad commented Aug 27, 2015

Extend MarkovChain to accept sparse matrix input.
Everything was almost straightforward, except the computation of stationary distributions:

  • In passing the matrix to gth_solve, the sparse matrix input is converted to a dense matrix. If the input is a large matrix, this will require a large amount of memory accordingly. Extending gth_solve to sparse matrices is highly nontrivial, due to fill-in.

oyamad added 3 commits August 27, 2015 09:38
Used in MarkovChain to compute the periods of SCCs
Used in MarkovChain._compute_stationary for sparse matrix
jstac added a commit that referenced this pull request Sep 2, 2015
MarkovChain: Sparse matrix support
@jstac jstac merged commit 44f0e2c into QuantEcon:master Sep 2, 2015
@oyamad oyamad deleted the dev_mc_tools_sparse branch September 2, 2015 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants