Eigen 3.4.90
doc
snippets
MatrixBase_template_int_leftCols.cpp
Go to the documentation of this file.
1
Array44i
a
= Array44i::Random();
2
cout <<
"Here is the array a:"
<< endl <<
a
<< endl;
3
cout <<
"Here is a.leftCols<2>():"
<< endl;
4
cout <<
a
.leftCols<2>() << endl;
5
a
.leftCols<2>().
setZero
();
6
cout <<
"Now the array a is:"
<< endl <<
a
<< endl;
a
Array44i a
Definition:
MatrixBase_template_int_leftCols.cpp:1
setZero
v setZero(3)
Eigen::Array44i
Array< int, 4, 4 > Array44i
Definition:
Array.h:344