gtsam
3rdparty
Eigen
failtest
block_nonconst_ctor_on_const_xpr_2.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
// row/column constructor
13
Block<Matrix3d,3,1>
b
(
m
,0);
14
}
15
16
int
main
() {}
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
Eigen::Block
Expression of a fixed-size or dynamic-size block.
Definition:
Block.h:103
b
Scalar * b
Definition:
benchVecAdd.cpp:17
main
int main()
Definition:
block_nonconst_ctor_on_const_xpr_2.cpp:16
foo
void foo(CV_QUALIFIER Matrix3d &m)
Definition:
block_nonconst_ctor_on_const_xpr_2.cpp:11
m
Matrix3f m
Definition:
AngleAxis_mimic_euler.cpp:1
CV_QUALIFIER
#define CV_QUALIFIER
Definition:
block_nonconst_ctor_on_const_xpr_2.cpp:6
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:01:56