ce_util¶
Filename: ce_util.py Authors: Chase Coleman, Spencer Lyon, John Stachurski, and Thomas Sargent Date: 2014-07-01
Utility functions used in CompEcon
Based routines found in the CompEcon toolbox by Miranda and Fackler.
References¶
Miranda, Mario J, and Paul L Fackler. Applied Computational Economics and Finance, MIT Press, 2002.
-
quantecon.ce_util.ckron(*arrays)[source]¶ Repeatedly applies the np.kron function to an arbitrary number of input arrays
Parameters: *arrays : tuple/list of np.ndarray
Returns: out : np.ndarray
The result of repeated kronecker products
Notes
Based of original function ckron in CompEcon toolbox by Miranda and Fackler
References
Miranda, Mario J, and Paul L Fackler. Applied Computational Economics and Finance, MIT Press, 2002.