Defines | Typedefs | Functions
sparse_trisolver.cpp File Reference
#include "BenchSparseUtil.h"
Include dependency graph for sparse_trisolver.cpp:

Go to the source code of this file.

Defines

#define BENCH(X)
#define DENSITY   0.01
#define MINDENSITY   0.0004
#define NBTRIES   10
#define REPEAT   1
#define SIZE   10000

Typedefs

typedef SparseMatrix< Scalar,
UpperTriangular
EigenSparseTriMatrix
typedef SparseMatrix< Scalar,
RowMajorBit|UpperTriangular
EigenSparseTriMatrixRow

Functions

void fillMatrix (float density, int rows, int cols, EigenSparseTriMatrix &dst)
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 29 of file sparse_trisolver.cpp.

#define DENSITY   0.01

Definition at line 12 of file sparse_trisolver.cpp.

#define MINDENSITY   0.0004

Definition at line 22 of file sparse_trisolver.cpp.

#define NBTRIES   10

Definition at line 26 of file sparse_trisolver.cpp.

#define REPEAT   1

Definition at line 16 of file sparse_trisolver.cpp.

#define SIZE   10000

Definition at line 8 of file sparse_trisolver.cpp.


Typedef Documentation

Definition at line 37 of file sparse_trisolver.cpp.

Definition at line 38 of file sparse_trisolver.cpp.


Function Documentation

void fillMatrix ( float  density,
int  rows,
int  cols,
EigenSparseTriMatrix dst 
)

Definition at line 40 of file sparse_trisolver.cpp.

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

Definition at line 56 of file sparse_trisolver.cpp.



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