Defines | Typedefs | Functions
sparse_lu.cpp File Reference
#include <Eigen/Sparse>
#include "BenchSparseUtil.h"
#include <Eigen/LU>
Include dependency graph for bench/sparse_lu.cpp:

Go to the source code of this file.

Defines

#define BENCH(X)
#define DENSITY   0.01
#define EIGEN_SUPERLU_SUPPORT
#define EIGEN_UMFPACK_SUPPORT
#define MINDENSITY   0.0004
#define NBTRIES   10
#define NOGMM
#define NOMTL
#define REPEAT   1
#define SIZE   10

Typedefs

typedef Matrix< Scalar,
Dynamic, 1 > 
VectorX

Functions

template<int Backend>
void doEigen (const char *name, const EigenSparseMatrix &sm1, const VectorX &b, VectorX &x, int flags=0)
int main (int argc, char *argv[])

Define Documentation

#define BENCH (   X)
Value:
timer.reset(); \
  for (int _j=0; _j<NBTRIES; ++_j) { \
    timer.start(); \
    for (int _k=0; _k<REPEAT; ++_k) { \
        X  \
  } timer.stop(); }

Definition at line 33 of file bench/sparse_lu.cpp.

#define DENSITY   0.01

Definition at line 16 of file bench/sparse_lu.cpp.

Definition at line 4 of file bench/sparse_lu.cpp.

Definition at line 5 of file bench/sparse_lu.cpp.

#define MINDENSITY   0.0004

Definition at line 26 of file bench/sparse_lu.cpp.

#define NBTRIES   10

Definition at line 30 of file bench/sparse_lu.cpp.

#define NOGMM

Definition at line 8 of file bench/sparse_lu.cpp.

#define NOMTL

Definition at line 9 of file bench/sparse_lu.cpp.

#define REPEAT   1

Definition at line 20 of file bench/sparse_lu.cpp.

#define SIZE   10

Definition at line 12 of file bench/sparse_lu.cpp.


Typedef Documentation

Definition at line 41 of file bench/sparse_lu.cpp.


Function Documentation

template<int Backend>
void doEigen ( const char *  name,
const EigenSparseMatrix sm1,
const VectorX b,
VectorX x,
int  flags = 0 
)

Definition at line 46 of file bench/sparse_lu.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 72 of file bench/sparse_lu.cpp.



re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:47