ref_1.cpp
Go to the documentation of this file.
1 #include "../Eigen/Core"
2 
3 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
4 #define CV_QUALIFIER const
5 #else
6 #define CV_QUALIFIER
7 #endif
8 
9 using namespace Eigen;
10 
12 
13 int main()
14 {
15  VectorXf a(10);
16  CV_QUALIFIER VectorXf& ac(a);
17  call_ref(ac);
18 }
Eigen
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
CV_QUALIFIER
#define CV_QUALIFIER
Definition: ref_1.cpp:6
a
ArrayXXi a
Definition: Array_initializer_list_23_cxx11.cpp:1
Eigen::Ref
A matrix or vector expression mapping an existing expression.
Definition: Ref.h:281
main
int main()
Definition: ref_1.cpp:13
call_ref
void call_ref(Ref< VectorXf > a)
Definition: ref_1.cpp:11


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:58