[eigen] Best way of initializing a matrix of fixed size

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


I'm wondering what is the best way of initializing a 4x4 matrix. I'm currently using the comma initializer, but it shows up quite high on a valgrind profile compared to taking the inverse of the same matrix or preprocessing the coeffs (pow, ln...)..
I'm using Eigen 3.2.4, but I can upgrade.


Information System Engineer, Ph.D.
Blog: http://blog.audio-tk.com/
LinkedIn: http://www.linkedin.com/in/matthieubrucher

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