eigen/doc/snippets/Cwise_quotient.cpp

3 lines
55 B
C++

Array3d v(2, 3, 4), w(4, 2, 3);
cout << v / w << endl;