MatrixBase_select.cpp
Go to the documentation of this file.
00001 MatrixXi m(3, 3);
00002 m << 1, 2, 3,
00003      4, 5, 6,
00004      7, 8, 9;
00005 m = (m.array() >= 5).select(-m, m);
00006 cout << m << endl;


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:31:57