[eigen-commits] commit/eigen: Adolfo Rodriguez Tsouroukdissian : - Added problem size constructor to decompositions that did not have one. It preallocates member data structures. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen-commits Archives
]
1 new changeset in eigen:
http://www.bitbucket.org/eigen/eigen/changeset/d54c08afda3e/
changeset: r2759:d54c08afda3e
user: Adolfo Rodriguez Tsouroukdissian
date: 2010-04-21 17:15:57
summary: - Added problem size constructor to decompositions that did not have one. It preallocates member data structures.
- Updated unit tests to check above constructor.
- In the compute() method of decompositions: Made temporary matrices/vectors class members to avoid heap allocations during compute() (when dynamic matrices are used, of course).
These changes can speed up decomposition computation time when a solver instance is used to solve multiple same-sized problems. An added benefit is that the compute() method can now be invoked in contexts were heap allocations are forbidden, such as in real-time control loops.
CAVEAT: Not all of the decompositions in the Eigenvalues module have a heap-allocation-free compute() method. A future patch may address this issue, but some required API changes need to be incorporated first.
affected #: 29 files (9.3 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.