[Rock-dev] Eigen::VectorX in ruby replaces std::vector<double>
Felix Rehrmann
felix.rehrmann at dfki.de
Thu Nov 8 16:42:03 CET 2012
Pushed the changes to have a struct for VectorXd to master.
Felix
Am 08.11.2012 14:25, schrieb Sylvain Joyeux:
> On 11/08/2012 01:53 PM, Felix Rehrmann wrote:
>> Am 08.11.2012 13:11, schrieb Sylvain Joyeux:
>>> On 11/08/2012 11:13 AM, Felix Rehrmann wrote:
>>>> Hi,
>>>>
>>>> I used a std::vector<double> as intermediate type for Eigen::VectorXd.
>>> This is a very bad idea. You should use
>> Yes, by today it seems a bad idea. But back when doing it, it was the
>> most obvious idea.
> Forgot to remote the line ... I really did not mean to send such a
> harsh comment, sorry !
>>> Yes, by NOT telling the type system that std::vector<double> is
>>> equivalent to Eigen::VectorXd. Create a specific type
>>> wrappers::VectorXd.
>> Would a typedef already help, or more like a vector in a struct?
> Vector in a struct. Typedefs are treated as in C++, i.e. they do not
> define new types.
> --
> Sylvain Joyeux (Dr.Ing.)
> Senior Researcher
>
> Space & Security Robotics
> Underwater Robotics
>
> !!! Achtung, neue Telefonnummer!!!
>
> Standort Bremen:
> DFKI GmbH
> Robotics Innovation Center
> Robert-Hooke-Straße 5
> 28359 Bremen, Germany
>
> Phone: +49 (0)421 178-454136
> Fax: +49 (0)421 218-454150
> E-Mail:robotik at dfki.de
>
> Weitere Informationen:http://www.dfki.de/robotik
> -----------------------------------------------------------------------
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
> (Vorsitzender) Dr. Walter Olthoff
> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
> Amtsgericht Kaiserslautern, HRB 2313
> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
> USt-Id.Nr.: DE 148646973
> Steuernummer: 19/673/0060/3
> -----------------------------------------------------------------------
--
Felix Rehrmann
Researcher
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178 45-4129
Fax: +49 (0)421 218-64150
E-Mail: felix.rehrmann at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20121108/417df982/attachment.htm
More information about the Rock-dev
mailing list