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 }
Eigen::PardisoLDLT
A sparse direct Cholesky (LDLT) factorization and solver based on the PARDISO library.
Definition: PardisoSupport.h:39
EIGEN_DECLARE_TEST
EIGEN_DECLARE_TEST(pardiso_support)
Definition: pardiso_support.cpp:23
Eigen::Upper
@ Upper
Definition: Constants.h:211
CALL_SUBTEST_4
#define CALL_SUBTEST_4(FUNC)
Definition: split_test_helper.h:22
CALL_SUBTEST_3
#define CALL_SUBTEST_3(FUNC)
Definition: split_test_helper.h:16
CALL_SUBTEST_1
#define CALL_SUBTEST_1(FUNC)
Definition: split_test_helper.h:4
test_pardiso_T
void test_pardiso_T()
Definition: pardiso_support.cpp:8
Eigen::Lower
@ Lower
Definition: Constants.h:209
CALL_SUBTEST_2
#define CALL_SUBTEST_2(FUNC)
Definition: split_test_helper.h:10
Eigen::PardisoLU
A sparse direct LU factorization and solver based on the PARDISO library.
Definition: PardisoSupport.h:37
check_sparse_spd_solving
void check_sparse_spd_solving(Solver &solver, int maxSize=(std::min)(300, EIGEN_TEST_MAX_SIZE), int maxRealWorldSize=100000)
Definition: sparse_solver.h:404
sparse_solver.h
check_sparse_square_solving
void check_sparse_square_solving(Solver &solver, int maxSize=300, int maxRealWorldSize=100000, bool checkDeficient=false)
Definition: sparse_solver.h:534
Eigen::PardisoLLT
A sparse direct Cholesky (LLT) factorization and solver based on the PARDISO library.
Definition: PardisoSupport.h:38


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:15