Tutorial_BlockOperations_corner.cpp File Reference
#include <Eigen/Dense>
#include <iostream>

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )
6  {
7  Eigen::Matrix4f m;
8  m << 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16;
9  cout << "m.leftCols(2) =" << endl << m.leftCols(2) << endl << endl;
10  cout << "m.bottomRows<2>() =" << endl << m.bottomRows<2>() << endl << endl;
11  m.topLeftCorner(1, 3) = m.bottomRightCorner(3, 1).transpose();
12  cout << "After assignment, m = " << endl << m << endl;
13 }
int * m
Definition: level2_cplx_impl.h:294

References m.