Summary: | .block() not implemented for sparse matrices | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Eigen | Reporter: | carsten.neff | ||||||
Component: | Sparse | Assignee: | Nobody <eigen.nobody> | ||||||
Status: | NEW --- | ||||||||
Severity: | enhancement | CC: | gael.guennebaud, henzlers, krishkanth.92, raffael | ||||||
Priority: | --- | ||||||||
Version: | 3.0 | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
carsten.neff
2011-06-24 11:35:56 UTC
Created attachment 370 [details]
Code to reproduce problem
Add an incomplete list of test cases which still fail with
their dense counterparts.
Created attachment 616 [details]
minimal example main.cpp file for sparse matrix block assignment
The bug is still active. I can not assign a part of a sparse block matrix with another sparse matrix (see MWE attached).
Is this availble in the current version? Comment on attachment 370 [details]
Code to reproduce problem
Hi werner,
Were u able to solve the problem of assigning sparse block matrices..
To make it clear: For a column-major matrix, you can only write to col(), middleCols() and for a row-major matrix to row(),middleRows(). And in general innerVector() and innerVectors() are always writeable. So are you saying that the block() routine will not be implemented for sparse matrices? Btw. I noticed that also the topLeftCorner, topRightCorner(),... etc. functions fail for sparse matrices. It will be implemented in the future as soon as someone step in to implement an efficient solution. -- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com'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: https://gitlab.com/libeigen/eigen/issues/305. |