Benchmark sparse matrix operations for Eigen (ecl_linear_algebra). More...
#include <iostream>
#include <ecl/time.hpp>
#include <ecl/threads/priority.hpp>
#include <ecl/linear_algebra.hpp>
#include <ecl/linear_algebra/sparse.hpp>
Go to the source code of this file.
Macros | |
#define | EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET |
#define | LM (303) |
Functions | |
void | compare_filling () |
void | compare_multiplication () |
void | fill_dense (int num) |
void | fill_sparse (int num) |
int | main (int argc, char **argv) |
void | test_dense_matrix (int num) |
void | test_sparse_matrix (int num) |
Benchmark sparse matrix operations for Eigen (ecl_linear_algebra).
Definition in file eigen_sparse.cpp.
#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET |
Definition at line 13 of file eigen_sparse.cpp.
#define LM (303) |
Definition at line 37 of file eigen_sparse.cpp.
void compare_filling | ( | ) |
Definition at line 141 of file eigen_sparse.cpp.
void compare_multiplication | ( | ) |
Definition at line 99 of file eigen_sparse.cpp.
void fill_dense | ( | int | num | ) |
Definition at line 127 of file eigen_sparse.cpp.
void fill_sparse | ( | int | num | ) |
Definition at line 113 of file eigen_sparse.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 154 of file eigen_sparse.cpp.
void test_dense_matrix | ( | int | num | ) |
Definition at line 69 of file eigen_sparse.cpp.
void test_sparse_matrix | ( | int | num | ) |
Definition at line 38 of file eigen_sparse.cpp.