Am 10.05.2023 um 16:27 schrieb Riccardo (Jack) Lucchetti:

Hi all,

I just thought it might be nice to extend the scope of some functions we have. Take rows(), which returns a scalar. Why not have it return a vector when applied to a matrix array? Of course the same could be done with cols().

In principle I agree. (Although perhaps the usefulness of determining all the row numbers of a bunch of matrices is debatable, but who knows.)

OTOH, there's a related idea about dealing with all array elements in one go in this ticket: https://sourceforge.net/p/gretl/feature-requests/160/ ("apply() function built-in for elementwise operation"), and there the last entry is that we said it's not top priority...

cheers

sven