rexpokit: R wrappers for EXPOKIT; other matrix functions

This package wraps some of the matrix exponentiation utilities from EXPOKIT (, a FORTRAN library that is widely recommended for matrix exponentiation (Sidje RB, 1998. "Expokit: A Software Package for Computing Matrix Exponentials." ACM Trans. Math. Softw. 24(1): 130-156). EXPOKIT includes functions for exponentiating both small, dense matrices, and large, sparse matrices (in sparse matrices, most of the cells have value 0). Rapid matrix exponentiation is useful in phylogenetics when we have a large number of states (as we do when we are inferring the history of transitions between the possible geographic ranges of a species), but is probably useful in other ways as well.

Install the latest version of this package by entering the following in R:
AuthorNicholas J. Matzke [aut, cre, cph], Roger B. Sidje [aut, cph]
Date of publication2013-07-15 07:25:20
MaintainerNicholas J. Matzke <>
LicenseGPL (>= 2)

View on CRAN


coo2mat Man page
expokit_dgexpv_Qmat Man page
expokit_dgexpv_wrapper Man page
expokit_dgpadm_Qmat Man page
expokit_dmexpv_Qmat Man page
expokit_dmexpv_wrapper Man page
expokit_mydgexpv_wrapper Man page
expokit_mydmexpv_wrapper Man page
expokit_wrapalldgexpv_tvals Man page
expokit_wrapalldmexpv_tvals Man page
fermat.test Man page
findrows_w_all_zeros Man page
mat2coo Man page
mat2coo_forloop Man page
rexpokit Man page
rexpokit-package Man page
row_allzero_TF Man page
SparseM_coo_to_REXPOKIT_coo Man page

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.