[eigen-commits] commit/eigen: Adolfo Rodriguez Tsouroukdissian : Propagate all five matrix template parameters to members and temporaries of decomposition classes. One particular advantage of this is that decomposing matrices with max sizes known at compile time will not allocate.

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen-commits Archives ]


1 new changeset in eigen:

http://www.bitbucket.org/eigen/eigen/changeset/9f9ccbd639ba/
changeset:   r2663:9f9ccbd639ba
user:        Adolfo Rodriguez Tsouroukdissian 
date:        2010-03-08 19:31:27
summary:     Propagate all five matrix template parameters to members and temporaries of decomposition classes. One particular advantage of this is that decomposing matrices with max sizes known at compile time will not allocate.
NOTE: The ComplexEigenSolver class currently _does_ allocate (line 135 of Eigenvalues/ComplexEigenSolver.h), but the reason appears to be in the implementation of matrix-matrix products, and not in the decomposition itself.
The nomalloc unit test has been extended to verify that decompositions do not allocate when max sizes are specified. There are currently two workarounds to prevent the test from failing (see comments in test/nomalloc.cpp), both of which are related to matrix products that allocate on the stack.
affected #:  15 files (6.6 KB)

Repository URL: http://bitbucket.org/eigen/eigen/

-- 
This is a commit notification from bitbucket.org.
You are receiving this because you have the service 
enabled, addressing the recipient of this email.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/