Eigen 3.4.90
Main Page
Related Pages
Modules
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
_
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
h
i
k
m
n
o
p
q
r
s
t
u
v
Related Functions
o
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
g
h
i
j
l
m
n
o
p
q
r
s
t
v
w
x
y
Typedefs
a
b
c
d
e
f
i
l
m
n
r
s
t
u
Macros
_
a
b
c
d
e
f
g
h
l
m
p
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
doc
snippets
Tutorial_commainit_02.cpp
Go to the documentation of this file.
1
int
rows
=5,
cols
=5;
2
MatrixXf
m
(
rows
,
cols
);
3
m
<< (
Matrix3f
() << 1, 2, 3, 4, 5, 6, 7, 8, 9).finished(),
4
MatrixXf::Zero(3,
cols
-3),
5
MatrixXf::Zero(
rows
-3,3),
6
MatrixXf::Identity(
rows
-3,
cols
-3);
7
cout <<
m
;
rows
int rows
Definition:
Tutorial_commainit_02.cpp:1
cols
int cols
Definition:
Tutorial_commainit_02.cpp:1
m
MatrixXf m(rows, cols)
Eigen::Matrix3f
Matrix< float, 3, 3 > Matrix3f
3×3 matrix of type float.
Definition:
Matrix.h:501
Eigen::MatrixXf
Matrix< float, Dynamic, Dynamic > MatrixXf
Dynamic×Dynamic matrix of type float.
Definition:
Matrix.h:501
Code