On Mon, 25 Jan 2021, Riccardo (Jack) Lucchetti wrote:
 On Mon, 25 Jan 2021, Sven Schreiber wrote:
> Sounds good to me. Does this operation have a name in algebra?
 To the best of my knowledge, it's a variant of the Khatri-Rao product (as 
 mentioned in the help files). I've just learned that Wikipedia also calls it 
 the "face-splitting" product. 
OK; I just pushed to git the modifications needed to gretl_matrix.c to 
handle the case when B is NULL. Seems to work ok. However, this is not 
user-visible yet because I'm not sure of how to handle a hansl function 
whose signature would be the one I proposed, that is: two matrix 
arguments, with the second one optional.
Allin: I mucked about a little with geneval.c, but I was afraid I was 
mishandling things, so I'd rather wait for a hint from you. Thanks!
-------------------------------------------------------
   Riccardo (Jack) Lucchetti
   Dipartimento di Scienze Economiche e Sociali (DiSES)
   Università Politecnica delle Marche
   (formerly known as Università di Ancona)
   r.lucchetti(a)univpm.it
   
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------