ref_5.cpp
Go to the documentation of this file.
1 #include "../Eigen/Core"
2 
3 using namespace Eigen;
4 
6 
7 int main()
8 {
9  VectorXf a(10);
11 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
12  call_ref(ac);
13 #else
14  call_ref(ac.derived());
15 #endif
16 }
Eigen
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
main
int main()
Definition: ref_5.cpp:7
call_ref
void call_ref(Ref< VectorXf > a)
Definition: ref_5.cpp:5
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
Eigen::DenseBase
Base class for all dense matrices, vectors, and arrays.
Definition: DenseBase.h:41


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