[Gretl-devel] matrix declaration in a pakage
Ignacio Diaz-Emparanza
ignacio.diaz-emparanza at ehu.es
Wed Jul 4 10:15:09 EDT 2007
I discovered a fail in Windows packaging that it is solved in Linux:
If you want to use a matrix in a function pakage, the matrix need to be
declared previously.
The (very naive) attached function package works without any problem in Linux,
but it produces an "unespecified error" in Windows. This is solved if, before
running the package, you go to the gretl console and only write "matrix name"
which declares the new matrix "name" that can be used then in the package.
Dear developers, please, could you try to solve this in Windows as well?
--
Ignacio Diaz-Emparanza
DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU
Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013732 | F.: +34 946013754
www.et.bs.ehu.es
-------------- next part --------------
<?xml version="1.0" encoding="UTF-8"?>
<gretl-functions>
<gretl-function-package name="matrixdec" ID="1183557817" needs-time-series-data="true" minver="1.6.5">
<author>Ignacio Diaz-Emparanza</author>
<version>1.0</version>
<date>2007-07-04</date>
<description>checkin matrix declaration</description>
<gretl-function name="matrixdec" private="0">
<params count="2">
<param name="Y" type="series"/>
<param name="inreg" type="matrixref"/>
</params>
<return name="yl" type="series"/>
<code>series yl = Y(-1)
</code>
</gretl-function>
</gretl-function-package>
</gretl-functions>
More information about the Gretl-devel
mailing list