On Mon, 25 Jan 2021, Riccardo (Jack) Lucchetti wrote:
 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! 
I've had a go at it -- see what you think. Also please check if the 
complex case is right.
Allin