umfpack_support.cpp File Reference
#include "sparse_solver.h"
#include <Eigen/UmfPackSupport>

Macros

#define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS
 

Functions

template<typename T1 , typename T2 >
void test_umfpack_support_T ()
 
 EIGEN_DECLARE_TEST (umfpack_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 ( umfpack_support  )
27  {
28  CALL_SUBTEST_1((test_umfpack_support_T<double, int>()));
29  CALL_SUBTEST_2((test_umfpack_support_T<std::complex<double>, int>()));
30  CALL_SUBTEST_3((test_umfpack_support_T<double, long>()));
31  CALL_SUBTEST_4((test_umfpack_support_T<std::complex<double>, long>()));
32 }
#define CALL_SUBTEST_3(FUNC)
Definition: split_test_helper.h:16
#define CALL_SUBTEST_1(FUNC)
Definition: split_test_helper.h:4
#define CALL_SUBTEST_2(FUNC)
Definition: split_test_helper.h:10
#define CALL_SUBTEST_4(FUNC)
Definition: split_test_helper.h:22
void test_umfpack_support_T()
Definition: umfpack_support.cpp:16

References CALL_SUBTEST_1, CALL_SUBTEST_2, CALL_SUBTEST_3, CALL_SUBTEST_4, and test_umfpack_support_T().

◆ test_umfpack_support_T()

template<typename T1 , typename T2 >
void test_umfpack_support_T ( )
16  {
19 
20  check_sparse_square_solving(umfpack_colmajor);
21  check_sparse_square_solving(umfpack_rowmajor);
22 
23  check_sparse_square_determinant(umfpack_colmajor);
24  check_sparse_square_determinant(umfpack_rowmajor);
25 }
A sparse LU factorization and solver based on UmfPack.
Definition: UmfPackSupport.h:302
void check_sparse_square_solving(Solver &solver, int maxSize=300, int maxRealWorldSize=100000, bool checkDeficient=false)
Definition: sparse_solver.h:613
void check_sparse_square_determinant(Solver &solver)
Definition: sparse_solver.h:683

References check_sparse_square_determinant(), and check_sparse_square_solving().

Referenced by EIGEN_DECLARE_TEST().