This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen

Bug 211

Summary: Remove heap allocations on HouseholderSequence::evalTo()
Product: Eigen Reporter: Adolfo Rodriguez Tsouroukdissian <adolfo.rodriguez>
Component: HouseholderAssignee: Nobody <eigen.nobody>
Status: RESOLVED FIXED    
Severity: enhancement CC: gael.guennebaud, jacob.benoit.1
Priority: ---    
Version: 3.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 387    

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
great
Comment 4 Nobody 2019-12-04 10:26:45 UTC
-- 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/211.