In any case I notice that most of the stuff you are printing are Eigen structures. These
are indeed more comfortable to print with cout, so for me it is fine to keep it in this way.