Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
gtsam
3rdparty
Eigen
doc
examples
DenseBase_template_int_middleRows.cpp
Go to the documentation of this file.
1
#include <Eigen/Core>
2
#include <iostream>
3
4
using namespace
Eigen
;
5
using namespace
std
;
6
7
int
main
(
void
)
8
{
9
int
const
N
= 5;
10
MatrixXi
A
(N,N);
11
A.setRandom();
12
cout <<
"A =\n"
<< A <<
'\n'
<< endl;
13
cout <<
"A(1..3,:) =\n"
<< A.middleRows<3>(1) << endl;
14
return
0;
15
}
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
std
Definition:
Half.h:150
N
#define N
Definition:
gksort.c:12
A
Definition:
test_numpy_dtypes.cpp:254
main
int main(void)
Definition:
DenseBase_template_int_middleRows.cpp:7
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:41:57