This bugzilla service is closed. All entries have been migrated to
Bug 1420 - Sparse matrix assembly from sub-sparse matrices
Summary: Sparse matrix assembly from sub-sparse matrices
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Sparse (show other bugs)
Version: 3.4 (development)
Hardware: All All
: Normal Feature Request
Assignee: Nobody
Depends on: 1433
Blocks: 3.x
  Show dependency treegraph
Reported: 2017-04-25 11:24 UTC by Gael Guennebaud
Modified: 2019-12-04 16:57 UTC (History)
2 users (show)


Description Gael Guennebaud 2017-04-25 11:24:14 UTC
Assembling a large sparse matrix from several smaller ones is a very common task. This could be accomplished through the comma-initializer API or a more procedure API. In contrast to the desne world for which the sub matrices passed to operator comma are copied to the destination matrix on the fly, here operator comma would store references to each block (within a std::tuple?) and assemble the matrix at the end in a similar way than the kronecker-product implementation.

Patch welcome (with unit tests).
Comment 1 Gael Guennebaud 2017-06-06 09:12:01 UTC
The proposal in bug 1433 might partly address this issue.
Comment 2 Nobody 2019-12-04 16:57:33 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:

Note You need to log in before you can comment on or make changes to this bug.