Is there a way to convert Armadillo vector to a string in C++?
I was wondering if there is a way to convert an Armadillo vector to a std string. For example if I have this vector: arma::vec myvec("1 2 3"); //create a vector of length 3 How can I produce: std::string mystring("1 2 3"); from it?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.