Additional functionalities can be developed for Gretl either directly in the main C code or with the Gretl scripting language. We illustrate through an example how it would be possible to wrap the C source of Gretl with SWIG to create an interface to Python that makes use of the matrix library NumPy. Such an interface would make it easier for users to extend Gretl since it would allow for developing and distributing Gretl extensions as Python modules.
On embedding Gretl in a Python module
SERI, RAFFAELLO
2009-01-01
Abstract
Additional functionalities can be developed for Gretl either directly in the main C code or with the Gretl scripting language. We illustrate through an example how it would be possible to wrap the C source of Gretl with SWIG to create an interface to Python that makes use of the matrix library NumPy. Such an interface would make it easier for users to extend Gretl since it would allow for developing and distributing Gretl extensions as Python modules.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.