Closed
Description
It seems that the product
One can check the following minimal working example:
using LinearAlgebra
using LinearMaps
A = [0 1; 0 0]
B = [0 0; 1 0]
J = LinearMap(I, 1)
Matrix(kron(J, A*B)) == Matrix(kron(J, A) * kron(J, B)) # should be true
Applying reverse()
on the tuples before the product should do the trick
LinearMaps.jl/src/kronecker.jl
Line 275 in ee91b4f
Metadata
Metadata
Assignees
Labels
No labels