17 template <
typename MatrixType>
24 int repeats = (
REPEAT*1000)/size;
31 int r = internal::random<int>(0,rows-1);
32 int c = internal::random<int>(0,cols-1);
36 for (
int k=0; k<repeats; ++k)
46 if (MatrixType::RowsAtCompileTime==
Dynamic)
49 std::cout <<
"fixed ";
50 std::cout << rows <<
" x " << cols <<
" \t" 52 <<
"(" << 1
e-6 * size*repeats/timerB.
value() <<
" MFLOPS)\t";
60 int main(
int argc,
char* argv[])
62 const int dynsizes[] = {4,6,8,16,24,32,49,64,128,256,512,900,0};
63 std::cout <<
"size no sqrt standard";
68 for (uint
i=0; dynsizes[
i]>0; ++
i)
double value(int TIMER=CPU_TIMER) const
Namespace containing all symbols from the Eigen library.
int main(int argc, char *argv[])
Array< double, 1, 3 > e(1./3., 0.5, 2.)
__attribute__((noinline)) void bench_reverse(const MatrixType &m)