<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 11/08/2012 01:53 PM, Felix Rehrmann
      wrote:<br>
    </div>
    <blockquote cite="mid:509BAB30.4080908@dfki.de" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Am 08.11.2012 13:11, schrieb Sylvain
        Joyeux:<br>
      </div>
      <blockquote cite="mid:509BA164.5040403@dfki.de" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">On 11/08/2012 11:13 AM, Felix
          Rehrmann wrote:<br>
        </div>
        <blockquote cite="mid:509B85D2.2080109@dfki.de" type="cite">
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          Hi,<br>
          <br>
          I used a std::vector&lt;double&gt; as intermediate type for
          Eigen::VectorXd.<br>
        </blockquote>
        This is a very bad idea. You should use <br>
      </blockquote>
      Yes, by today it seems a bad idea. But back when doing it, it was
      the most obvious idea. <br>
    </blockquote>
    Forgot to remote the line ... I really did not mean to send such a
    harsh comment, sorry !<br>
    <blockquote cite="mid:509BAB30.4080908@dfki.de" type="cite">
      <blockquote cite="mid:509BA164.5040403@dfki.de" type="cite">Yes,
        by NOT telling the type system that std::vector&lt;double&gt; is
        equivalent to Eigen::VectorXd. Create a specific type
        wrappers::VectorXd.<br>
      </blockquote>
      Would a typedef already help, or more like a vector in a struct?</blockquote>
    Vector in a struct. Typedefs are treated as in C++, i.e. they do not
    define new types.<br>
    <pre class="moz-signature" cols="72">-- 
Sylvain Joyeux (Dr.Ing.)
Senior Researcher

Space &amp; Security Robotics
Underwater Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Stra&szlig;e 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:robotik@dfki.de">robotik@dfki.de</a>

Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.dfki.de/robotik">http://www.dfki.de/robotik</a>
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Stra&szlig;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
----------------------------------------------------------------------- </pre>
  </body>
</html>