I write to ask
whether you have considered implementing the method setZero for rows and
columns of sparse matrices. As far as I understand, we can't do,
A.col(index).setZero(); // A is sparse
This would be very useful to set a known value in a system of equations, b-=value*A.col(dof); A.col(dof).setZero(); A.row(dof).setZero(); A.coeffRef(dof,dof)=1.0;
b(dof)=value;