[Numpy-discussion] repmat equivalent?

Sven Schreiber svetosch at gmx.net
Fri Feb 24 02:25:04 CST 2006


Travis Oliphant schrieb:

> There is a function in scipy.linalg called kron that could be brought
> over which can do a repmat.

> 
> def kron(a,b):
>    """kronecker product of a and b

That would be great, I have been missing it in numpy already! (Because
scipy is rather big, I'd like to avoid depending on it for such things.)

So please do bring it over.
Thanks,
Sven




More information about the Numpy-discussion mailing list