4 template <
typename Derived1,
typename Derived2>
8 dst.template triangularView<Eigen::Upper>() = src.template triangularView<Eigen::Upper>();
15 std::cout <<
"m2 before copy:" << std::endl;
16 std::cout <<
m2 << std::endl << std::endl;
18 std::cout <<
"m2 after copy:" << std::endl;
19 std::cout <<
m2 << std::endl << std::endl;
void copyUpperTriangularPart(Eigen::MatrixBase< Derived1 > &dst, const Eigen::MatrixBase< Derived2 > &src)
static const ConstantReturnType Ones()
static const RandomReturnType Random()
Base class for all dense matrices, vectors, and expressions.
The matrix class, also used for vectors and row-vectors.