[Gretl-devel] Re: Default col argument for matrix creation functions

2019-07-10 Thread Summers, Peter
> -Original Message- > From: Sven Schreiber > Sent: Sunday, July 7, 2019 5:36 PM > > Actually, you got me thinking about the possibility of having a second > > argiment to I() (aka F_IMAT); in many cases, you want to construct a > > matrix that is an identity matrix "plus some zeros";

[Gretl-devel] Re: Default col argument for matrix creation functions

2019-07-10 Thread Sven Schreiber
Am 10.07.2019 um 14:10 schrieb Allin Cottrell: On Mon, 8 Jul 2019, Sven Schreiber wrote: BTW, I checked the expression "zeros(100,1) * NA" which still has all zeros. Now I remember some dispute about the desired result for 0*NA, but in any case the variant "zeros(100,1) .* NA" gives all 'nan',

[Gretl-devel] Re: Default col argument for matrix creation functions

2019-07-10 Thread Allin Cottrell
On Mon, 8 Jul 2019, Sven Schreiber wrote: > BTW, I checked the expression "zeros(100,1) * NA" which still has all > zeros. Now I remember some dispute about the desired result for 0*NA, > but in any case the variant "zeros(100,1) .* NA" gives all 'nan', so I'm > sure one of the two must be a bug.