mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 17:41:52 +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:
8
third_party/eigen/doc/snippets/HessenbergDecomposition_compute.cpp
vendored
Normal file
8
third_party/eigen/doc/snippets/HessenbergDecomposition_compute.cpp
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
MatrixXcf A = MatrixXcf::Random(4, 4);
|
||||
HessenbergDecomposition<MatrixXcf> hd(4);
|
||||
hd.compute(A);
|
||||
cout << "The matrix H in the decomposition of A is:" << endl
|
||||
<< hd.matrixH() << endl;
|
||||
hd.compute(2 * A); // re-use hd to compute and store decomposition of 2A
|
||||
cout << "The matrix H in the decomposition of 2A is:" << endl
|
||||
<< hd.matrixH() << endl;
|
Reference in New Issue
Block a user