gtsam
3rdparty
Eigen
failtest
sparse_ref_1.cpp
Go to the documentation of this file.
1
#include "../Eigen/Sparse"
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
11
void
call_ref
(
Ref
<
SparseMatrix<float>
>
a
) { }
12
13
int
main
()
14
{
15
SparseMatrix<float>
a
(10,10);
16
CV_QUALIFIER
SparseMatrix<float>
& ac(
a
);
17
call_ref
(ac);
18
}
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
Eigen::SparseMatrix
A versatible sparse matrix representation.
Definition:
SparseMatrix.h:96
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
call_ref
void call_ref(Ref< SparseMatrix< float > > a)
Definition:
sparse_ref_1.cpp:11
CV_QUALIFIER
#define CV_QUALIFIER
Definition:
sparse_ref_1.cpp:6
main
int main()
Definition:
sparse_ref_1.cpp:13
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:04:24