I am trying to learn C++ with the Eigen library.
int main(){
MatrixXf m = MatrixXf::Random(30,3);
cout << "Here is the matrix m:\n" << m << endl;
cout << "m" << endl << colm(m) << endl;
return 0;
}
How can I export m
to a text file (I have searched the documentations
and have not found mention of an writing function)?