Re: [eigen] Geometry module - Quaternion fitting alternative

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


2009/5/26 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> This means that a prerequisite to vectorize that is that your matrices
> src and dst be RowMajor.

Oh but I overlooked the fact that dst and src are the arguments passed
to the function. So we don't control their storage order, the user
does, and the default is col-major. We could say that you change the
implementation so that now the _rows_ are the points, so vectorization
can be done in the col-major case... but that would mean interleaved
storage, so the construction of the matrices in the first place would
be less efficient (less memory locality) so it's probably not worth
it.

So I'd say don't worry about vectorization here....

Benoit



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