Summary: | Feature Request: Memory allocation only when necessary | ||
---|---|---|---|
Product: | Eigen | Reporter: | Piotr Trebisz <trebisz> |
Component: | General | Assignee: | Nobody <eigen.nobody> |
Status: | DECISIONNEEDED --- | ||
Severity: | Feature Request | CC: | chtz, gael.guennebaud, jacob.benoit.1 |
Priority: | Normal | Keywords: | JuniorJob |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Bug Depends on: | 707 | ||
Bug Blocks: |
Description
Piotr Trebisz
2014-04-10 15:58:53 UTC
In-Place decompositions could partially solve this. But we need some general decision if we want to allow independent memory allocation from the matrix size, which would also be helpful for matrices growing during run-time. API-wise this could be done by using special values for the RowsAtCompileTime/ColsAtCompileTime template arguments and provide a reserve() function similar to std::vector Instead of special Rows/Cols template argument, I'd rather add a new option bit flag enabling the proposed behavior in Matrix<>. This option would then be passed to all members of a given decomposition. I'd accept such a patch. See https://bitbucket.org/eigen/eigen/pull-request/125/789-memory-allocation-only-when-necessary/diff for a start and current discussions. -- 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/789. |