Eigen: Updated to 3.3.8

git-svn-id: svn://ultimatepp.org/upp/trunk@15292 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2020-10-23 09:15:00 +00:00
parent 519b5e4261
commit aa63fef21c
514 changed files with 44279 additions and 50937 deletions

View file

@ -0,0 +1,16 @@
#include <unsupported/Eigen/MatrixFunctions>
#include <iostream>
using namespace Eigen;
int main()
{
const double pi = std::acos(-1.0);
MatrixXd A(3,3);
A << 0, -pi/4, 0,
pi/4, 0, 0,
0, 0, 0;
std::cout << "The matrix A is:\n" << A << "\n\n";
std::cout << "The matrix exponential of A is:\n" << A.exp() << "\n\n";
}