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;
Vector3d v(1, 2, 3)
Matrix< double, 3, 1 > Vector3d
3×1 vector of type double.
Definition: Matrix.h:502