gtsam
3rdparty
Eigen
test
metis_support.cpp
Go to the documentation of this file.
1
// This file is part of Eigen, a lightweight C++ template library
2
// for linear algebra.
3
//
4
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
5
//
6
// This Source Code Form is subject to the terms of the Mozilla
7
// Public License v. 2.0. If a copy of the MPL was not distributed
8
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
10
#include "
sparse_solver.h
"
11
#include <Eigen/SparseLU>
12
#include <Eigen/MetisSupport>
13
#include <unsupported/Eigen/SparseExtra>
14
15
template
<
typename
T>
void
test_metis_T
()
16
{
17
SparseLU<SparseMatrix<T, ColMajor>
,
MetisOrdering<int>
> sparselu_metis;
18
19
check_sparse_square_solving
(sparselu_metis);
20
}
21
22
EIGEN_DECLARE_TEST
(metis_support)
23
{
24
CALL_SUBTEST_1
(test_metis_T<double>());
25
}
EIGEN_DECLARE_TEST
EIGEN_DECLARE_TEST(metis_support)
Definition:
metis_support.cpp:22
test_metis_T
void test_metis_T()
Definition:
metis_support.cpp:15
CALL_SUBTEST_1
#define CALL_SUBTEST_1(FUNC)
Definition:
split_test_helper.h:4
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::SparseLU
Sparse supernodal LU factorization for general matrices.
Definition:
SparseLU.h:17
Eigen::MetisOrdering
Definition:
MetisSupport.h:22
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:33:48