gtsam
3rdparty
Eigen
failtest
const_qualified_diagonal_method_retval.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
11
void
foo
(
CV_QUALIFIER
Matrix3d &
m
){
12
Diagonal<Matrix3d>
b
(m.diagonal());
13
}
14
15
int
main
() {}
m
Matrix3f m
Definition:
AngleAxis_mimic_euler.cpp:1
b
Scalar * b
Definition:
benchVecAdd.cpp:17
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
CV_QUALIFIER
#define CV_QUALIFIER
Definition:
const_qualified_diagonal_method_retval.cpp:6
foo
void foo(CV_QUALIFIER Matrix3d &m)
Definition:
const_qualified_diagonal_method_retval.cpp:11
main
int main()
Definition:
const_qualified_diagonal_method_retval.cpp:15
Eigen::Diagonal
Expression of a diagonal/subdiagonal/superdiagonal in a matrix.
Definition:
Diagonal.h:63
gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:03