swap_1.cpp
Go to the documentation of this file.
1 #include "../Eigen/Core"
2 
3 using namespace Eigen;
4 
5 int main()
6 {
7  VectorXf a(10), b(10);
8 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
9  const DenseBase<VectorXf> &ac(a);
10 #else
12 #endif
13  b.swap(ac);
14 }
int main()
Definition: swap_1.cpp:5
Scalar * b
Definition: benchVecAdd.cpp:17
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
Base class for all dense matrices, vectors, and arrays.
Definition: DenseBase.h:41


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:36:34