[eigen] Map questions

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


I would like to do something like

  Vector3d v;
  // v = something;
  double a[3];
  Map<Vector3d>(a) = v;

, which currently does not works.
How should I do that?

Another thing that could be a little bug:
it is currently possible to do

  const double a[3]={1,2,3};

, which discards the const qualifier of a.

Cristovao Sousa


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/