DenseBase_middleCols_int.cpp
Go to the documentation of this file.
1 #include <Eigen/Core>
2 #include <iostream>
3 
4 int main()
5 {
6  int const N = 5;
7  Eigen::MatrixXi A(N,N);
8  A.setRandom();
9  std::cout << "A =\n" << A << '\n' << std::endl;
10  std::cout << "A(1..3,:) =\n" << A.middleCols(1,3) << std::endl;
11  return 0;
12 }
MatrixXcf A
The matrix class, also used for vectors and row-vectors.
Definition: Matrix.h:182