DenseBase_template_int_middleCols.cpp File Reference

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 4 of file DenseBase_template_int_middleCols.cpp.

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<3>(1) << std::endl;
11  return 0;
12 }
MatrixXcf A
The matrix class, also used for vectors and row-vectors.
Definition: Matrix.h:182