Patch: Kronecker tensor product
Submitted by Andreas Platen
Assigned to Nobody
Link to original bugzilla bug (#275)
Version: 3.0
Description
Created attachment 173
Implementation of the Kronecker product for matrices
Hi everybody,
Kolja Brix and I implemented the Kronecker tensor product for dense and sparse matrices, see the attachement for a proposal. At the moment one calls the function by
Eigen::kroneckerProduct(A, B, AB);
where matrix AB will be the Kronecker tensor product of the dense or sparse matrices A and B. If either A or B is of sparse matrix type, then AB has to be a sparse matrix too.
We would like to provide our code, so that it potentially can be integrated into Eigen and be used by everybody.
Is there any chance to do so?
Attachment 173, "Implementation of the Kronecker product for matrices":
KroneckerTensorProduct.h