AsciiQuickReference: added .real(), .imag()

(transplanted from 11462c1a291bdb9c0ac27db25fef364e51632484
)
This commit is contained in:
Mark Borgerding 2014-05-16 13:45:35 -04:00
parent c794099e69
commit e3ab46b8c9

View File

@ -168,6 +168,8 @@ x.cross(y) // cross(x, y) Requires #include <Eigen/Geometry>
A.cast<double>(); // double(A)
A.cast<float>(); // single(A)
A.cast<int>(); // int32(A)
A.real(); // real(A)
A.imag(); // imag(A)
// if the original type equals destination type, no work is done
// Note that for most operations Eigen requires all operands to have the same type: