Eigen 3.4.90
doc
examples
DenseBase_middleRows_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(2..3,:) =\n"
<<
A
.middleRows(2,2) << std::endl;
11
return
0;
12
}
A
MatrixXcf A
Definition:
ComplexEigenSolver_compute.cpp:1
Core
main
int main()
Definition:
DenseBase_middleRows_int.cpp:4
Eigen::Matrix
The matrix class, also used for vectors and row-vectors.
Definition:
Matrix.h:182