Registered users: alexissampson, Baidu [Spider], Bing [Bot], boudewijn, Exabot [Bot], farid, gamallw, Google [Bot], google01103, nottiusmaximus, TheInvisible, Yahoo [Bot], yc2986 © Copyright 2012 KDE Community Forum Team. All rights reserved.KDE Community Forums has no liability for any content or post. All messages belong to and are the opinion of their respective authors.KDE and K Desktop Environment are trademarks of KDE e.V. • For more details, contact the Forum Administrators. I currently have code that uses std::vectors and am new to Eigen. Could you please inform me on how to typecast these std::vectors to Eigen::VectorXd? I don’t want a copy of the data in the std::vector to be made. So far, I’ve only seen the ‘Map’ function but that maps arrays and not vectors. Is their a way to get to Eigen::VectorXd to std::vector<,double>, ? I searched the internet but all in vain till now. May be its something very basic. I am trying to convert a std::vector of complex doubles to a VectorXcd but am getting the error: ‘YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY’ KDE Community Forums has no liability for any content or post. All messages belong to and are the opinion of their respective authors. Source.