#include <iostream>
#include <Eigen/Dense>
◆ main()
8 std::cout <<
"Here is the matrix A:\n" <<
A << std::endl;
9 std::cout <<
"Here is the right hand side b:\n" <<
b << std::endl;
10 Eigen::Matrix2f
x =
A.ldlt().solve(
b);
11 std::cout <<
"The solution is:\n" <<
x << std::endl;
Scalar * b
Definition: benchVecAdd.cpp:17
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Definition: bench_gemm.cpp:47
list x
Definition: plotDoE.py:28
References b, and plotDoE::x.