Simplify implementation of the evaluation's iterator of Sparse*Diagonal products to help the compiler to generate better code.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/.