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

Macros

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

Macro Definition Documentation

◆ BENCH

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

Definition at line 29 of file sparse_trisolver.cpp.

◆ DENSITY

#define DENSITY   0.01

Definition at line 12 of file sparse_trisolver.cpp.

◆ MINDENSITY

#define MINDENSITY   0.0004

Definition at line 22 of file sparse_trisolver.cpp.

◆ NBTRIES

#define NBTRIES   10

Definition at line 26 of file sparse_trisolver.cpp.

◆ REPEAT

#define REPEAT   1

Definition at line 16 of file sparse_trisolver.cpp.

◆ SIZE

#define SIZE   10000

Definition at line 8 of file sparse_trisolver.cpp.

Typedef Documentation

◆ EigenSparseTriMatrix

typedef SparseMatrix<Scalar,UpperTriangular> EigenSparseTriMatrix

Definition at line 37 of file sparse_trisolver.cpp.

◆ EigenSparseTriMatrixRow

typedef SparseMatrix<Scalar,RowMajorBit|UpperTriangular> EigenSparseTriMatrixRow

Definition at line 38 of file sparse_trisolver.cpp.

Function Documentation

◆ fillMatrix()

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

Definition at line 40 of file sparse_trisolver.cpp.

◆ main()

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

Definition at line 56 of file sparse_trisolver.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:54