eigen/doc/snippets/MatrixBase_array.cpp
Gael Guennebaud 7d3fe69eff Various documentation updates:
- update the tutorial
- update doc of deprecated cwise function
- update cwise doc snippets
2010-01-06 17:18:38 +01:00

5 lines
70 B
C++

Vector3d v(1,2,3);
v.array() += 3;
v.array() -= 2;
cout << v << endl;