Logo Search packages:      
Sourcecode: eigen3 version File versions  Download package

tut_matrix_resize_fixed_size.cpp

#include <iostream>
#include <Eigen/Dense>

using namespace Eigen;

int main()
{
  Matrix4d m;
  m.resize(4,4); // no operation
  std::cout << "The matrix m is of size "
            << m.rows() << "x" << m.cols() << std::endl;
}

Generated by  Doxygen 1.6.0   Back to index