source:
pacpussensors/trunk/Vislab/lib3dv/eigen/doc/examples/tut_matrix_resize_fixed_size.cpp@
136
Last change on this file since 136 was 136, checked in by , 8 years ago | |
---|---|
File size: 229 bytes |
Line | |
---|---|
1 | #include <iostream> |
2 | #include <Eigen/Dense> |
3 | |
4 | using namespace Eigen; |
5 | |
6 | int main() |
7 | { |
8 | Matrix4d m; |
9 | m.resize(4,4); // no operation |
10 | std::cout << "The matrix m is of size " |
11 | << m.rows() << "x" << m.cols() << std::endl; |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.