Re: [eigen] Allocation policy of eigen decompositions

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


Thanks, this is pushed. Thanks also for updating the unit tests, and i
confirm they are successful. If you plan to continue with such great
contributions, why don't you create a bitbucket account so we can give
you write access?

Benoit


2010/4/21 Adolfo Rodríguez Tsouroukdissian <dofo79@xxxxxxxxx>:
> Please find attached a patch that:
>
> - Adds problem size constructor to decompositions that did not have one. It
> preallocates member data structures.
> - Updates 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 single
> 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.
>
> 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 (see
> previous thread posts).
>
> Please let me know if something is not working as advertised ;)
>
> Regards,
>
> Adolfo
>
>
> --
> Adolfo Rodríguez Tsouroukdissian, Ph. D.
>
> Robotics engineer
> PAL ROBOTICS S.L
> http://www.pal-robotics.com
> Tel. +34.93.414.53.47
> Fax.+34.93.209.11.09
> AVISO DE CONFIDENCIALIDAD: Este mensaje y sus documentos adjuntos, pueden
> contener información privilegiada y/o confidencial que está dirigida
> exclusivamente a su destinatario. Si usted recibe este mensaje y no es el
> destinatario indicado, o el empleado encargado de su entrega a dicha
> persona, por favor, notifíquelo inmediatamente y remita el mensaje original
> a la dirección de correo electrónico indicada. Cualquier copia, uso o
> distribución no autorizados de esta comunicación queda estrictamente
> prohibida.
>
> CONFIDENTIALITY NOTICE: This e-mail and the accompanying document(s) may
> contain confidential information which is privileged and intended only for
> the individual or entity to whom they are addressed.  If you are not the
> intended recipient, you are hereby notified that any disclosure, copying,
> distribution or use of this e-mail and/or accompanying document(s) is
> strictly prohibited.  If you have received this e-mail in error, please
> immediately notify the sender at the above e-mail address.
>



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