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;


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:33:06