const_qualified_block_method_retval_1.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  Block<Matrix3d> b(m.block(0,0,3,3));
13 }
14 
15 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
CV_QUALIFIER
#define CV_QUALIFIER
Definition: const_qualified_block_method_retval_1.cpp:6
m
Matrix3f m
Definition: AngleAxis_mimic_euler.cpp:1
main
int main()
Definition: const_qualified_block_method_retval_1.cpp:15
foo
void foo(CV_QUALIFIER Matrix3d &m)
Definition: const_qualified_block_method_retval_1.cpp:11


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:32:11