benchmarks/arrexpr1.m
% This matlab file generated automatically by class Benchmark
% of the Blitz++ class library.

parm = [ 1.000000000000e+00 3.000000000000e+00 5.000000000000e+00 1.000000000000e+01 1.700000000000e+01 3.100000000000e+01 5.600000000000e+01 1.000000000000e+02 1.770000000000e+02 3.160000000000e+02 5.620000000000e+02 1.000000000000e+03 1.778000000000e+03 3.162000000000e+03 5.623000000000e+03 1.000000000000e+04 1.778200000000e+04 3.162200000000e+04 5.623400000000e+04 ]; 

Mf = [ 2.500000000000e+01 5.555555555556e+00 ;
8.333300000000e+00 6.249975000000e+00 ;
8.333333333333e+00 6.250000000000e+00 ;
6.250000000000e+00 6.250000000000e+00 ;
6.249837500000e+00 6.249837500000e+00 ;
6.249987500000e+00 5.555544444444e+00 ;
6.249600000000e+00 6.249600000000e+00 ;
6.250000000000e+00 6.250000000000e+00 ;
6.248100000000e+00 5.553866666667e+00 ;
6.248900000000e+00 6.248900000000e+00 ;
5.551311111111e+00 6.245225000000e+00 ;
6.250000000000e+00 6.250000000000e+00 ;
6.245225000000e+00 5.551311111111e+00 ;
5.551066666667e+00 5.551066666667e+00 ;
5.498044444444e+00 5.498044444444e+00 ;
5.555555555556e+00 5.000000000000e+00 ;
4.978960000000e+00 4.978960000000e+00 ;
4.743300000000e+00 5.929125000000e+00 ;
4.998577777778e+00 4.498720000000e+00 ] ;

semilogx(parm,Mf), title('Array expression'), 
    xlabel('Vector length'), ylabel('Mflops/s')
legend('Blitz++', 'C')
