mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 01:59:38 +08:00
11 lines
212 B
C++
11 lines
212 B
C++
#include <iostream>
|
|
#include <Eigen/Dense>
|
|
|
|
int main()
|
|
{
|
|
Eigen::Matrix4d m;
|
|
m.resize(4,4); // no operation
|
|
std::cout << "The matrix m is of size "
|
|
<< m.rows() << "x" << m.cols() << std::endl;
|
|
}
|