Registered Member
|
Hi all:
I am trying optimize my code. I use the gprof to measure function call time consuming. The most consuming part is Eigen::Matrix<double, -1, -1, 0, -1, -1>& Eigen::DenseBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> >::lazyAssign<Eigen::Matrix<double, -1, -1, 0, -1, -1> >(Eigen::DenseBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&) I don't understand what does this mean. Could anyone explain to me? Thank you. Best. |
Moderator
|
This corresponds to a matrix to matrix assignment, like:
MatrixXd A, B; A = B; |
Registered Member
|
|
Registered Member
|
Hi,
I'm running into the same question with you, how do you optimize the assignment ? Thanks. |
Registered Member
|
I use some global variables instead.
|
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar