Eigen 3.4.90
doc
snippets
MatrixBase_array.cpp
Go to the documentation of this file.
1
Vector3d
v
(1,2,3);
2
v
.array() += 3;
3
v
.array() -= 2;
4
cout <<
v
<< endl;
v
Vector3d v(1, 2, 3)
Eigen::Vector3d
Matrix< double, 3, 1 > Vector3d
3×1 vector of type double.
Definition:
Matrix.h:502