eigen/doc/snippets/MatrixBase_cwiseQuotient.cpp

3 lines
65 B
C++
Raw Normal View History

Vector3d v(2,3,4), w(4,2,3);
cout << v.cwiseQuotient(w) << endl;