Eigen 3.4.90
doc
examples
tut_matrix_resize_fixed_size.cpp
Go to the documentation of this file.
1
#include <iostream>
2
#include <
Eigen/Dense
>
3
4
int
main
()
5
{
6
Eigen::Matrix4d
m
;
7
m
.resize(4,4);
// no operation
8
std::cout <<
"The matrix m is of size "
9
<<
m
.rows() <<
"x"
<<
m
.cols() << std::endl;
10
}
m
Matrix3f m
Definition:
AngleAxis_mimic_euler.cpp:1
Dense
Eigen::Matrix
The matrix class, also used for vectors and row-vectors.
Definition:
Matrix.h:182
main
int main()
Definition:
tut_matrix_resize_fixed_size.cpp:4