mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 01:22:59 +08:00
Move eigen to third party (#282)
* remove useless statement * Add eigen to third_party dir * remove reducdant lines
This commit is contained in:
4
third_party/eigen/doc/snippets/LeastSquaresNormalEquations.cpp
vendored
Normal file
4
third_party/eigen/doc/snippets/LeastSquaresNormalEquations.cpp
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
MatrixXf A = MatrixXf::Random(3, 2);
|
||||
VectorXf b = VectorXf::Random(3);
|
||||
cout << "The solution using normal equations is:\n"
|
||||
<< (A.transpose() * A).ldlt().solve(A.transpose() * b) << endl;
|
Reference in New Issue
Block a user