klu_support.cpp File Reference
#include "sparse_solver.h"
#include <Eigen/KLUSupport>

Macros

#define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS
 

Functions

template<typename T >
void test_klu_support_T ()
 
 EIGEN_DECLARE_TEST (klu_support)
 

Macro Definition Documentation

◆ EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS

#define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( klu_support  )
27  {
28  CALL_SUBTEST_1(test_klu_support_T<double>());
29  CALL_SUBTEST_2(test_klu_support_T<std::complex<double> >());
30 }
void test_klu_support_T()
Definition: klu_support.cpp:16
#define CALL_SUBTEST_1(FUNC)
Definition: split_test_helper.h:4
#define CALL_SUBTEST_2(FUNC)
Definition: split_test_helper.h:10

References CALL_SUBTEST_1, CALL_SUBTEST_2, and test_klu_support_T().

◆ test_klu_support_T()

template<typename T >
void test_klu_support_T ( )
16  {
17  KLU<SparseMatrix<T, ColMajor> > klu_colmajor;
18  KLU<SparseMatrix<T, RowMajor> > klu_rowmajor;
19 
20  check_sparse_square_solving(klu_colmajor);
21  check_sparse_square_solving(klu_rowmajor);
22 
23  // check_sparse_square_determinant(umfpack_colmajor);
24  // check_sparse_square_determinant(umfpack_rowmajor);
25 }
Definition: KLUSupport.h:70
void check_sparse_square_solving(Solver &solver, int maxSize=300, int maxRealWorldSize=100000, bool checkDeficient=false)
Definition: sparse_solver.h:613

References check_sparse_square_solving().

Referenced by EIGEN_DECLARE_TEST().