mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 09:31:35 +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:
14
third_party/eigen/doc/examples/QuickStart_example2_fixed.cpp
vendored
Normal file
14
third_party/eigen/doc/examples/QuickStart_example2_fixed.cpp
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <Eigen/Dense>
|
||||
#include <iostream>
|
||||
|
||||
using namespace Eigen;
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
Matrix3d m = Matrix3d::Random();
|
||||
m = (m + Matrix3d::Constant(1.2)) * 50;
|
||||
cout << "m =" << endl << m << endl;
|
||||
Vector3d v(1, 2, 3);
|
||||
|
||||
cout << "m * v =" << endl << m * v << endl;
|
||||
}
|
Reference in New Issue
Block a user