New user self-registration is disabled due to spam. Please email eigen-core-team @ if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
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-01-25 09:23 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.

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