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

This commit is contained in:
Mark Borgerding 2014-05-16 13:45:35 -04:00
parent e667819055
commit 11462c1a29

View File

@ -167,6 +167,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: