I am working with Eigen Sparse matrices and want to iterate over the nonzero elements of the matrix using the following Code:
typedef Eigen::SparseMatrix