MatrixBase_template_int_start.cpp
Go to the documentation of this file.
00001 RowVector4i v = RowVector4i::Random();
00002 cout << "Here is the vector v:" << endl << v << endl;
00003 cout << "Here is v.head(2):" << endl << v.head<2>() << endl;
00004 v.head<2>().setZero();
00005 cout << "Now the vector v is:" << endl << v << endl;


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