ternary_1.cpp
Go to the documentation of this file.
1 #include "../Eigen/Core"
2 
3 using namespace Eigen;
4 
5 int main(int argc,char **)
6 {
7  VectorXf a(10), b(10);
8 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
9  b = argc>1 ? 2*a : -a;
10 #else
11  b = argc>1 ? 2*a : VectorXf(-a);
12 #endif
13 }
Scalar * b
Definition: benchVecAdd.cpp:17
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
int main(int argc, char **)
Definition: ternary_1.cpp:5


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:37:45