epfl-archive/cs440-acg/ext/eigen/doc/snippets/Cwise_minus_equal.cpp

4 lines
45 B
C++
Raw Normal View History

2022-04-07 18:46:57 +02:00
Array3d v(1,2,3);
v -= 5;
cout << v << endl;