mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 12:46:00 +08:00
AsciiQuickReference: added .real(), .imag()
This commit is contained in:
parent
e667819055
commit
11462c1a29
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user