Macros | 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.

Macros

#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[])
 

Macro Definition Documentation

#define BENCH (   X)
Value:
for (int _j=0; _j<NBTRIES; ++_j) { \
for (int _k=0; _k<REPEAT; ++_k) { \
X \
} timer.stop(); }
for(size_t i=1;i< poses.size();++i)
#define REPEAT
#define X
Definition: icosphere.cpp:20
static BenchTimer timer
#define NBTRIES

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

typedef SparseMatrix<Scalar,SelfAdjoint|LowerTriangular> EigenSparseSelfAdjointMatrix

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.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:40