Home | History | Annotate | Download | only in doc

Lines Matching refs:Eigen

1 #include <Eigen/Array>
8 Eigen::Matrix3f m3 = Eigen::Matrix3f::Random();
9 Eigen::Matrix4f m4 = Eigen::Matrix4f::Identity();
50 Eigen::Matrix4f other = (m4 * m4).lazy(); // forces lazy evaluation
51 m4 = m4 + m4; // here Eigen goes for lazy evaluation, as with most expressions
52 m4 = -m4 + m4 + 5 * m4; // same here, Eigen chooses lazy evaluation for all that.
53 m4 = m4 * (m4 + m4); // here Eigen chooses to first evaluate m4 + m4 into a temporary.
55 m3 = m3 * m4.block<3,3>(1,1); // here Eigen chooses NOT to evaluate block() into a temporary