Add asAffine() and asProjective() views to MatrixBase or DenseBase
@chhtz
Submitted by Christoph HertzbergAssigned to Nobody
Link to original bugzilla bug (#1129)
Version: 3.3 (current stable)
Description
As discussed on IRC, this would return a Transform-object (a to-be-created TransformBase, to be exact) without needing to copy the actual matrix.
This would be equivalent to the .matrix() and .array() views already supported by ArrayBase/MatrixBase.
Bug #192 could be solved simultaneously, since Map<Transform<...> >(ptr) would be equivalent to Map<Matrix<...> >(ptr).asAffine().
Blocking
Edited by Eigen Bugzilla