This bugzilla service is closed. All entries have been migrated to

Bug 1407

Summary: Four-Matrix Sparse Multiply Doesn't Work
Product: Eigen Reporter: citibeth <rpf2116>
Component: SparseAssignee: Nobody <eigen.nobody>
Status: NEW ---    
Severity: Unknown CC: chtz, gael.guennebaud
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   

Description citibeth 2017-03-17 02:23:44 UTC
If A, B, C and D are SparseMatrix instances, I can do:
   Eigen::SparseMatrix X(A*B*C)

But the following doesn't work, it yields a matrix that just zeros everything out:
   Eigen::SparseMatrix X(A*B*C*D)

So it seems that Eigen can handle multiplying three matrices in one expression, but not four.  For the latter case, splitting it up into two multiply steps works.
Comment 1 Nobody 2019-12-04 16:53:47 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: