#include <iostream>
#include <Eigen/Dense>
◆ main()
7 A << 1, 2, 3, 4, 5, 6, 7, 8, 10;
9 std::cout <<
"Here is the matrix A:\n" <<
A << std::endl;
10 std::cout <<
"Here is the vector b:\n" <<
b << std::endl;
11 Eigen::Vector3f
x =
A.colPivHouseholderQr().solve(
b);
12 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.