On Fri, 12 Oct 2007, andreas.rosenblad(a)ltv.se wrote:
In some other software, like R or MatLab, one can create an empty
matrix of
unknown dimension, which is useful when one wants to successively add
values to a matrix vector, and don't know beforehand how many values will
be added.
Is it possible in gretl? If not, could such a feature be added, please?
Good idea. At present,
matrix a = { }
results in a segfault, which is bad because not only it makes sense, but
because even a meaningless construct shouldn't crash the program.
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti