Skip to content
GitLab
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • libeigenlibeigen
  • eigeneigen
  • Issues
  • #1407

Four-Matrix Sparse Multiply Doesn't Work

Submitted by citibeth

Assigned to Nobody

Link to original bugzilla bug (#1407)

Description

If A, B, C and D are SparseMatrix instances, I can do:
Eigen::SparseMatrix X(ABC)

But the following doesn't work, it yields a matrix that just zeros everything out:
Eigen::SparseMatrix X(ABC*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.

Edited Dec 05, 2019 by Eigen Bugzilla
Assignee
Assign to
Time tracking