ref_4.cpp
Go to the documentation of this file.
1 #include "../Eigen/Core"
2 
3 using namespace Eigen;
4 
5 void call_ref(Ref<MatrixXf,0,OuterStride<> > a) {}
6 
7 int main()
8 {
9  MatrixXf A(10,10);
10 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD
11  call_ref(A.transpose());
12 #else
13  call_ref(A);
14 #endif
15 }
void call_ref(Ref< MatrixXf, 0, OuterStride<> > a)
Definition: ref_4.cpp:5
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
int main()
Definition: ref_4.cpp:7
Array33i a
A matrix or vector expression mapping an existing expression.
Definition: Ref.h:192
Convenience specialization of Stride to specify only an outer stride See class Map for some examples...
Definition: Stride.h:101


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:43:51