Utility Functions for CGE Models#
|
Helper function to unpack equations names with <dim:i> tags to a long list of equations. |
Convert non-sequence inputs into a singleton list. |
|
|
Infer the shape of a CGE Model object from a provided coordinate dictionary. |
|
|
|
Convert a flat array to a dictionary of variables and parameters. |
|
Convert a dictionary of variables and parameters to a single long vector. |
|