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:
11
third_party/eigen/doc/snippets/Tutorial_AdvancedInitialization_Join.cpp
vendored
Normal file
11
third_party/eigen/doc/snippets/Tutorial_AdvancedInitialization_Join.cpp
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
RowVectorXd vec1(3);
|
||||
vec1 << 1, 2, 3;
|
||||
std::cout << "vec1 = " << vec1 << std::endl;
|
||||
|
||||
RowVectorXd vec2(4);
|
||||
vec2 << 1, 4, 9, 16;
|
||||
std::cout << "vec2 = " << vec2 << std::endl;
|
||||
|
||||
RowVectorXd joined(7);
|
||||
joined << vec1, vec2;
|
||||
std::cout << "joined = " << joined << std::endl;
|
Reference in New Issue
Block a user