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

4 lines
55 B
C++
Raw Normal View History

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