mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 17:17:14 +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:
7
third_party/eigen/doc/snippets/Tutorial_AdvancedInitialization_LinSpaced.cpp
vendored
Normal file
7
third_party/eigen/doc/snippets/Tutorial_AdvancedInitialization_LinSpaced.cpp
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
ArrayXXf table(10, 4);
|
||||
table.col(0) = ArrayXf::LinSpaced(10, 0, 90);
|
||||
table.col(1) = M_PI / 180 * table.col(0);
|
||||
table.col(2) = table.col(1).sin();
|
||||
table.col(3) = table.col(1).cos();
|
||||
std::cout << " Degrees Radians Sine Cosine\n";
|
||||
std::cout << table << std::endl;
|
Reference in New Issue
Block a user