|
FflasFfpack
|
#include "fflas-ffpack/fflas-ffpack-config.h"#include "fflas-ffpack/utils/fflas_randommatrix.h"#include <iostream>#include <givaro/modular-balanced.h>#include "fflas-ffpack/utils/timer.h"#include "fflas-ffpack/ffpack/ffpack.h"#include <ctime>Macros | |
| #define | CUBE(x) ((x)*(x)*(x)) |
| #define | GFOPS(m, n, r, t) (2.0/3.0*CUBE(double(n)/1000.0) +2*m/1000.0*n/1000.0*double(r)/1000.0 - double(r)/1000.0*double(r)/1000.0*(m+n)/1000)/t |
Typedefs | |
| typedef Givaro::Timer | TTimer |
Functions | |
| int | main () |
| #define CUBE | ( | x | ) | ((x)*(x)*(x)) |
| #define GFOPS | ( | m, | |
| n, | |||
| r, | |||
| t | |||
| ) | (2.0/3.0*CUBE(double(n)/1000.0) +2*m/1000.0*n/1000.0*double(r)/1000.0 - double(r)/1000.0*double(r)/1000.0*(m+n)/1000)/t |
| typedef Givaro::Timer TTimer |
| int main | ( | void | ) |