Re: [eigen] Using a Transformation as mapped expression type

[ Thread Index | Date Index | More Archives ]

Yes, this would be possible, but nobody cared to implement it yet.
See this bug-entry:

If you (or someone) knows a bit about the internals, this might be a nice possibility for contributing a patch (have a look at how Quaternion, QuaternionBase, Map<Quaternion> are implemented).

Also see the linked bug 1129, which suggest introducing


as alternative to `Map<Affine3f>(` (similar to `id.array()`)


On 02/08/2019 15.10, Janos Meny wrote:

Why is it not possible to do something like this:

Matrix4f id = Matrix4f::Identity();
Map<Affine3f> map(;

Apparently the Transformation class does not model the dense public
interface, so it is not "mappable". But isnt the Transformation class just
a wrapper around a static dense matrix? Couldnt it therefore just pass
through the stride, size etc. from the underlying dense matrix type?

Best regards


 Dr.-Ing. Christoph Hertzberg

 Besuchsadresse der Nebengeschäftsstelle:
 Robotics Innovation Center
 Robert-Hooke-Straße 5
 28359 Bremen, Germany

 Postadresse der Hauptgeschäftsstelle Standort Bremen:
 Robotics Innovation Center
 Robert-Hooke-Straße 1
 28359 Bremen, Germany

 Tel.:     +49 421 178 45-4021
 Zentrale: +49 421 178 45-0
 E-Mail:   christoph.hertzberg@xxxxxxx

 Weitere Informationen:
  Deutsches Forschungszentrum für Künstliche Intelligenz GmbH
  Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany

  Prof. Dr. Jana Koehler (Vorsitzende)
  Dr. Walter Olthoff

  Vorsitzender des Aufsichtsrats:
  Prof. Dr. h.c. Hans A. Aukes
  Amtsgericht Kaiserslautern, HRB 2313

Mail converted by MHonArc 2.6.19+