Defines | Typedefs | Functions
sparse_cholesky.cpp File Reference
#include <iostream>
#include <Eigen/Sparse>
#include "BenchSparseUtil.h"
#include <Eigen/Cholesky>
Include dependency graph for sparse_cholesky.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 NOGMM
#define NOMTL
#define REPEAT   1
#define SIZE   10

Typedefs

typedef SparseMatrix< Scalar,
SelfAdjoint|LowerTriangular
EigenSparseSelfAdjointMatrix

Functions

template<int Backend>
void doEigen (const char *name, const EigenSparseSelfAdjointMatrix &sm1, int flags=0)
void fillSpdMatrix (float density, int rows, int cols, EigenSparseSelfAdjointMatrix &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 33 of file sparse_cholesky.cpp.

#define DENSITY   0.01

Definition at line 16 of file sparse_cholesky.cpp.

#define MINDENSITY   0.0004

Definition at line 26 of file sparse_cholesky.cpp.

#define NBTRIES   10

Definition at line 30 of file sparse_cholesky.cpp.

#define NOGMM

Definition at line 8 of file sparse_cholesky.cpp.

#define NOMTL

Definition at line 9 of file sparse_cholesky.cpp.

#define REPEAT   1

Definition at line 20 of file sparse_cholesky.cpp.

#define SIZE   10

Definition at line 12 of file sparse_cholesky.cpp.


Typedef Documentation

Definition at line 42 of file sparse_cholesky.cpp.


Function Documentation

template<int Backend>
void doEigen ( const char *  name,
const EigenSparseSelfAdjointMatrix sm1,
int  flags = 0 
)

Definition at line 64 of file sparse_cholesky.cpp.

void fillSpdMatrix ( float  density,
int  rows,
int  cols,
EigenSparseSelfAdjointMatrix dst 
)

Definition at line 44 of file sparse_cholesky.cpp.

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

Definition at line 77 of file sparse_cholesky.cpp.



libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:34:06