#include <iostream>
#include <Eigen/Dense>
◆ main()
5 Eigen::MatrixXf
A = Eigen::MatrixXf::Random(3, 2);
6 std::cout <<
"Here is the matrix A:\n" <<
A << std::endl;
7 Eigen::VectorXf
b = Eigen::VectorXf::Random(3);
8 std::cout <<
"Here is the right hand side b:\n" <<
b << std::endl;
9 std::cout <<
"The least-squares solution is:\n"
Scalar * b
Definition: benchVecAdd.cpp:17
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Definition: bench_gemm.cpp:47
@ ComputeThinV
Definition: Constants.h:395
@ ComputeThinU
Definition: Constants.h:391
References b, Eigen::ComputeThinU, and Eigen::ComputeThinV.