From: Nils W. <nw...@is...> - 2001-07-19 08:15:43
|
Charles G Waldman schrieb: > Nils Wagner writes: > > > > How can I rearrange the result of outerproduct to the result of > > Kronecker product with numpy ? > > > > def kron(a,b): > o = outerproduct(a,b) > o.shape = a.shape + b.shape > return concatenate(concatenate(o, axis=1), axis=1) What is the difference between kron(z,eye) and kron(yt,eye) ? Nils |