10 template<
typename OtherDerived>
16 template<
typename OtherDerived>
26 MyVectorType
v = MyVectorType::Ones(4);
29 std::cout <<
v.transpose() << std::endl;
Array< int, Dynamic, 1 > v
Base class for all dense matrices, vectors, and expressions.
The matrix class, also used for vectors and row-vectors.
Matrix & operator=(const Matrix &other)
Assigns matrices to each other.
Matrix< double, Dynamic, 1 > VectorXd
DynamicĂ—1 vector of type double.