viewAsReal() method
@chhtz
Submitted by Christoph HertzbergAssigned to Nobody
Link to original bugzilla bug (#1019)
Version: 3.4 (development)
Description
I propose adding a viewAsReal() method, which returns for complex-valued matrices/vectors a matrix/vector of twice the size but with pure real values. I guess doubling the size in the direction of storage order would make most sense.
For real-valued matrices this would simply return itself.
Perhaps, the inverse of that would also make sense (this has to assert that the dimension is even, of course).
Bug #1018 could efficiently be solved by that.
Blocking
Edited by Eigen Bugzilla