MatrixBase_array.cpp 70 B

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