On Sat, Jan 14, 2023 at 5:59 AM Sven Schreiber <sven.schrei...@fu-berlin.de> wrote: > > Hi, there is a disconnect here somehow: > > <console> > > ? m = ones(4,3) > ? div = {1, 0.2, 5} > ? X = m / div > Ungültiges Argument # = invalid arg
What version of gretl is giving you that error? I'm not seeing any error there. > ? eval m/ div > 0,23810 > 0,23810 > 0,23810 > 0,23810 > > </console> > > But obviously the result is wrong and it's clear that in linear algebra > terms there is no solution. So what is eval doing there? It's doing just what Matlab's mrdivide() does, namely, computing a least squares solution in the non-square case. This point is not documented in the matrix chapter of the Gretl User's Guide, something that should be fixed. Allin _______________________________________________ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it Website: https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/