Re: [eigen] Vector |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Mathieu,I can cordially recommend you to read the excellent documentation at http://eigen.tuxfamily.org/doxIn this particular case, what you are looking for istemplate <typename T>using MyVector = Eigen::Matrix<T, Eigen::Dynamic, 1>;MartonOn 26 November 2014 at 08:56, Mathieu Dutour <mathieu.dutour@xxxxxxxxx> wrote:Dear all,thank you for previous help I managed to use the Eigen::Matrixtype successfully. This will allow me to progressively simplify mycode.In particular I usetemplate <typename T> usingMyMatrix=Eigen::Matrix<T,Eigen::Dynamic,Eigen::Dynamic>;to get the kind of matrix I want: with template type and of variablesize.However, I expected to be able to writeEigen::Vector<T,Eigen::Dynamic>but this type seems missing. Is there a reason for that ?Thank you in advance for any help,Mathieu
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |