Sign in

CADCAE / eigen · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • eigen
  • doc
  • examples
  • tut_matrix_resize_fixed_size.cpp
  • init & last commit
    b689729d
    yangda authored
    2019-11-04 11:46:45 +0800  
    Browse Code ยป
tut_matrix_resize_fixed_size.cpp 229 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12
#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;
}