2013-01-11 10:40:35 +01:00
|
|
|
// This file is part of Eigen, a lightweight C++ template library
|
|
|
|
|
// for linear algebra.
|
|
|
|
|
//
|
|
|
|
|
// Copyright (C) 2008-2009 Gael Guennebaud <g.gael@free.fr>
|
|
|
|
|
//
|
|
|
|
|
// This Source Code Form is subject to the terms of the Mozilla
|
|
|
|
|
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
|
|
|
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
2010-06-18 11:28:30 +02:00
|
|
|
#ifndef EIGEN_SPARSE_EXTRA_MODULE_H
|
|
|
|
|
#define EIGEN_SPARSE_EXTRA_MODULE_H
|
|
|
|
|
|
2010-07-06 10:25:52 +02:00
|
|
|
#include "../../Eigen/Sparse"
|
2010-06-18 11:28:30 +02:00
|
|
|
|
2011-02-22 09:31:22 -05:00
|
|
|
#include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
|
2010-06-18 11:28:30 +02:00
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <map>
|
2021-08-27 16:53:28 +00:00
|
|
|
#include <unordered_map>
|
2010-06-18 11:28:30 +02:00
|
|
|
#include <cstdlib>
|
|
|
|
|
#include <cstring>
|
|
|
|
|
#include <algorithm>
|
2011-05-31 18:58:04 +02:00
|
|
|
#include <fstream>
|
|
|
|
|
#include <sstream>
|
2010-06-18 11:28:30 +02:00
|
|
|
|
|
|
|
|
#ifdef EIGEN_GOOGLEHASH_SUPPORT
|
|
|
|
|
#include <google/dense_hash_map>
|
2021-04-09 19:50:19 -07:00
|
|
|
#include <google/sparse_hash_map>
|
2010-06-18 11:28:30 +02:00
|
|
|
#endif
|
|
|
|
|
|
2013-01-11 10:40:35 +01:00
|
|
|
/**
|
2010-06-30 13:19:54 +02:00
|
|
|
* \defgroup SparseExtra_Module SparseExtra module
|
2010-06-18 11:28:30 +02:00
|
|
|
*
|
2021-09-02 17:23:33 +00:00
|
|
|
* This module contains some experimental features extending the sparse module:
|
|
|
|
|
* - A RandomSetter which is a wrapper object allowing to set/update a sparse matrix with random access.
|
2022-07-28 18:04:35 +00:00
|
|
|
* - A SparseInverse which calculates a sparse subset of the inverse of a sparse matrix corresponding to nonzeros of the
|
|
|
|
|
* input
|
2021-09-02 17:23:33 +00:00
|
|
|
* - MatrixMarket format(https://math.nist.gov/MatrixMarket/formats.html) readers and writers for sparse and dense
|
|
|
|
|
* matrices.
|
2010-06-18 11:28:30 +02:00
|
|
|
*
|
|
|
|
|
* \code
|
2021-09-02 17:23:33 +00:00
|
|
|
* #include <unsupported/Eigen/SparseExtra>
|
2010-06-18 11:28:30 +02:00
|
|
|
* \endcode
|
|
|
|
|
*/
|
|
|
|
|
|
2023-02-08 17:40:31 +00:00
|
|
|
// IWYU pragma: begin_exports
|
2010-06-18 11:28:30 +02:00
|
|
|
#include "src/SparseExtra/RandomSetter.h"
|
2022-07-28 18:04:35 +00:00
|
|
|
#include "src/SparseExtra/SparseInverse.h"
|
2011-05-31 18:58:04 +02:00
|
|
|
|
|
|
|
|
#include "src/SparseExtra/MarketIO.h"
|
2010-06-18 11:28:30 +02:00
|
|
|
|
2012-03-31 18:01:43 +02:00
|
|
|
#if !defined(_WIN32)
|
|
|
|
|
#include <dirent.h>
|
|
|
|
|
#include "src/SparseExtra/MatrixMarketIterator.h"
|
|
|
|
|
#endif
|
2023-02-08 17:40:31 +00:00
|
|
|
// IWYU pragma: end_exports
|
2012-03-31 18:01:43 +02:00
|
|
|
|
2011-02-22 09:31:22 -05:00
|
|
|
#include "../../Eigen/src/Core/util/ReenableStupidWarnings.h"
|
2010-06-18 11:28:30 +02:00
|
|
|
|
|
|
|
|
#endif // EIGEN_SPARSE_EXTRA_MODULE_H
|