1*bf2c3715SXin Li // This file is part of Eigen, a lightweight C++ template library 2*bf2c3715SXin Li // for linear algebra. 3*bf2c3715SXin Li // 4*bf2c3715SXin Li // Copyright (C) 2011 Gael Guennebaud <[email protected]> 5*bf2c3715SXin Li // 6*bf2c3715SXin Li // This Source Code Form is subject to the terms of the Mozilla 7*bf2c3715SXin Li // Public License v. 2.0. If a copy of the MPL was not distributed 8*bf2c3715SXin Li // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 9*bf2c3715SXin Li 10*bf2c3715SXin Li #define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS 11*bf2c3715SXin Li #include "sparse_solver.h" 12*bf2c3715SXin Li 13*bf2c3715SXin Li #include <Eigen/SuperLUSupport> 14*bf2c3715SXin Li EIGEN_DECLARE_TEST(superlu_support)15*bf2c3715SXin LiEIGEN_DECLARE_TEST(superlu_support) 16*bf2c3715SXin Li { 17*bf2c3715SXin Li SuperLU<SparseMatrix<double> > superlu_double_colmajor; 18*bf2c3715SXin Li SuperLU<SparseMatrix<std::complex<double> > > superlu_cplxdouble_colmajor; 19*bf2c3715SXin Li CALL_SUBTEST_1( check_sparse_square_solving(superlu_double_colmajor) ); 20*bf2c3715SXin Li CALL_SUBTEST_2( check_sparse_square_solving(superlu_cplxdouble_colmajor) ); 21*bf2c3715SXin Li CALL_SUBTEST_1( check_sparse_square_determinant(superlu_double_colmajor) ); 22*bf2c3715SXin Li CALL_SUBTEST_2( check_sparse_square_determinant(superlu_cplxdouble_colmajor) ); 23*bf2c3715SXin Li } 24