pardiso_support.cpp
Go to the documentation of this file.
1 /*
2  Intel Copyright (C) ....
3 */
4 
5 #include "sparse_solver.h"
6 #include <Eigen/PardisoSupport>
7 
8 template<typename T> void test_pardiso_T()
9 {
15 
16  check_sparse_spd_solving(pardiso_llt_lower);
17  check_sparse_spd_solving(pardiso_llt_upper);
18  check_sparse_spd_solving(pardiso_ldlt_lower);
19  check_sparse_spd_solving(pardiso_ldlt_upper);
20  check_sparse_square_solving(pardiso_lu);
21 }
22 
23 EIGEN_DECLARE_TEST(pardiso_support)
24 {
25  CALL_SUBTEST_1(test_pardiso_T<float>());
26  CALL_SUBTEST_2(test_pardiso_T<double>());
27  CALL_SUBTEST_3(test_pardiso_T< std::complex<float> >());
28  CALL_SUBTEST_4(test_pardiso_T< std::complex<double> >());
29 }
#define CALL_SUBTEST_4(FUNC)
#define CALL_SUBTEST_3(FUNC)
EIGEN_DECLARE_TEST(pardiso_support)
A sparse direct Cholesky (LLT) factorization and solver based on the PARDISO library.
void test_pardiso_T()
#define CALL_SUBTEST_1(FUNC)
A sparse direct LU factorization and solver based on the PARDISO library.
A sparse direct Cholesky (LDLT) factorization and solver based on the PARDISO library.
#define CALL_SUBTEST_2(FUNC)
void check_sparse_square_solving(Solver &solver, int maxSize=300, int maxRealWorldSize=100000, bool checkDeficient=false)
void check_sparse_spd_solving(Solver &solver, int maxSize=(std::min)(300, EIGEN_TEST_MAX_SIZE), int maxRealWorldSize=100000)


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:35:01