from scipy.sparse import eye, kron from scipy.spare import vstack as vs z = vs([ kron(eye(y.shape[0]), x), kron(y, eye(x.shape[1])) ])
The thing that kills my soul is the need for the "vs" function. Why aren't the symbols [] not enough ?
The thing that kills my soul is the need for the "vs" function. Why aren't the symbols [] not enough ?