diff options
author | Mark Borgerding <mark@borgerding.net> | 2014-05-16 13:45:35 -0400 |
---|---|---|
committer | Mark Borgerding <mark@borgerding.net> | 2014-05-16 13:45:35 -0400 |
commit | e3ab46b8c931b4435fe2283d591023de9e257b1a (patch) | |
tree | 070aaa40f334604c865d3c0cfb5a542a341cfa54 /doc/AsciiQuickReference.txt | |
parent | c794099e69353d82cfb0601c680d15e5848c7bc0 (diff) |
AsciiQuickReference: added .real(), .imag()
(transplanted from 11462c1a291bdb9c0ac27db25fef364e51632484
)
Diffstat (limited to 'doc/AsciiQuickReference.txt')
-rw-r--r-- | doc/AsciiQuickReference.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/AsciiQuickReference.txt b/doc/AsciiQuickReference.txt index f62c112cd..c4d021624 100644 --- a/doc/AsciiQuickReference.txt +++ b/doc/AsciiQuickReference.txt @@ -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: |