This bugzilla service is closed. All entries have been migrated to
Bug 211 - Remove heap allocations on HouseholderSequence::evalTo()
Summary: Remove heap allocations on HouseholderSequence::evalTo()
Alias: None
Product: Eigen
Classification: Unclassified
Component: Householder (show other bugs)
Version: 3.0
Hardware: All All
: --- enhancement
Assignee: Nobody
Depends on:
Blocks: 3.2
  Show dependency treegraph
Reported: 2011-03-02 18:33 UTC by Adolfo Rodriguez Tsouroukdissian
Modified: 2019-12-04 10:26 UTC (History)
2 users (show)


Description Adolfo Rodriguez Tsouroukdissian 2011-03-02 18:33:36 UTC
The evalTo(DestType& dst) method of HouseholderSequence uses a temporary matrix in its implementation. This precludes using it in scenarios involving dynamic matrices and no-malloc restrictions. In such scenarios it is customary to preallocate resources in advance. Is there any way, or is it possible at all to prevent this allocation?, to pass the preallocated temporary?, ...
Comment 1 Benoit Jacob 2011-03-07 00:55:12 UTC
The most probable fix is to add an option to pass to evalTo a preallocated 'workspace' matrix.
Comment 2 Adolfo Rodriguez Tsouroukdissian 2012-03-26 18:27:20 UTC
I believe a patch for this one was applied in Part 2 of #206.
Comment 3 Gael Guennebaud 2012-03-27 00:02:23 UTC
Comment 4 Nobody 2019-12-04 10:26:45 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.