Searched refs:MATSIZE (Results 1 – 2 of 2) sorted by relevance
/external/eigen/bench/ |
D | benchmark.cpp | 7 #ifndef MATSIZE 8 #define MATSIZE 3 macro 24 Matrix<SCALAR,MATSIZE,MATSIZE> I = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones(); in main() 25 Matrix<SCALAR,MATSIZE,MATSIZE> m; in main() 26 for(int i = 0; i < MATSIZE; i++) in main() 27 for(int j = 0; j < MATSIZE; j++) in main() 29 m(i,j) = (i+MATSIZE*j); in main() 34 m = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones() + 0.00005 * (m + (m*m)); in main()
|
D | benchmarkX.cpp | 14 #ifndef MATSIZE 15 #define MATSIZE 400 macro 24 MATTYPE I = MATTYPE::Ones(MATSIZE,MATSIZE); in main() 25 MATTYPE m(MATSIZE,MATSIZE); in main() 26 for(int i = 0; i < MATSIZE; i++) for(int j = 0; j < MATSIZE; j++) in main() 28 m(i,j) = (i+j+1)/(MATSIZE*MATSIZE); in main()
|