Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
gtsam
3rdparty
Eigen
failtest
ref_2.cpp
Go to the documentation of this file.
1
#include "../Eigen/Core"
2
3
using namespace
Eigen
;
4
5
void
call_ref
(
Ref<VectorXf>
a
) { }
6
7
int
main
()
8
{
9
MatrixXf
A
(10,10);
10
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
11
call_ref
(A.row(3));
12
#else
13
call_ref
(A.col(3));
14
#endif
15
}
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
a
Array33i a
Definition:
Cwise_product.cpp:1
main
int main()
Definition:
ref_2.cpp:7
A
Definition:
test_numpy_dtypes.cpp:254
Eigen::Ref
A matrix or vector expression mapping an existing expression.
Definition:
Ref.h:192
call_ref
void call_ref(Ref< VectorXf > a)
Definition:
ref_2.cpp:5
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:43:51