2 ms·
I've never used Eigen, could you explain specifically what lazy evaluation implies for this expression? Is it to do with the diagonal() call constraining the am
by mhh__ 6y ago
I've never used Eigen, could you explain specifically what lazy evaluation implies for this expression? Is it to do with the diagonal() call constraining the amount of work to be done?
- waynecochran 6y agoYeah, you got it. The diagonal() matrix is not actually created since you really don't need all the elements in the final computation.