00001 #include "../Eigen/Core" 00002 00003 #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 00004 #define CV_QUALIFIER const 00005 #else 00006 #define CV_QUALIFIER 00007 #endif 00008 00009 using namespace Eigen; 00010 00011 void foo(CV_QUALIFIER float *ptr, DenseIndex rows, DenseIndex cols){ 00012 Map<MatrixXf, Aligned, InnerStride<2> > m(ptr, rows, cols, InnerStride<2>()); 00013 } 00014 00015 int main() {}