[eigen] Using a Transformation as mapped expression type

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


Why is it not possible to do something like this:

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

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


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