[Gretl-devel] matrix from null list

Sven Schreiber svetosch at gmx.net
Mon Feb 11 04:44:50 EST 2008


Am 11.02.2008 04:06, Allin Cottrell schrieb:
> On Sun, 10 Feb 2008, Sven Schreiber wrote:
> 
>> I propose that the following should work in order to make generic code
>> possible; the matrix should be simply empty ({}).
>>
>> list myl = null
>> matrix checkmat = { myl }
> 
> OK, done in CVS.  

thank you!

Also done:
> 
> list L1 = ...
> list L2 = ...
> list L3 = L1 || L2 # union
> list L3 = L1 && L2 # intersection
> 

nice!

> matrix m = {1,2,3,4}
> list L = m  # OK provided there are at least 4 variables
>             # in the dataset

wasn't this already possible before?

-sven


More information about the Gretl-devel mailing list