diff options
author | 2010-06-18 11:28:30 +0200 | |
---|---|---|
committer | 2010-06-18 11:28:30 +0200 | |
commit | ece48a645051a9984a78a3197027c9c861a0c702 (patch) | |
tree | c52c6400b2a839f62877c168c193fc024ccf68d6 /unsupported/Eigen/TaucsSupport | |
parent | 22d07ec2e3324d09c7dff36c9642f0ed74f3e994 (diff) |
split the Sparse module into multiple ones, and move non stable parts to unsupported/
(see the ML for details)
Diffstat (limited to 'unsupported/Eigen/TaucsSupport')
-rw-r--r-- | unsupported/Eigen/TaucsSupport | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/unsupported/Eigen/TaucsSupport b/unsupported/Eigen/TaucsSupport new file mode 100644 index 000000000..93e4bd7aa --- /dev/null +++ b/unsupported/Eigen/TaucsSupport @@ -0,0 +1,49 @@ +#ifndef EIGEN_TAUCSSUPPORT_MODULE_H +#define EIGEN_TAUCSSUPPORT_MODULE_H + +#include "SparseExtra" + +#include "src/Core/util/DisableMSVCWarnings.h" + +// taucs.h declares a lot of mess +#define isnan +#define finite +#define isinf +extern "C" { + #include <taucs.h> +} +#undef isnan +#undef finite +#undef isinf + +#ifdef min + #undef min +#endif +#ifdef max + #undef max +#endif +#ifdef complex + #undef complex +#endif + +namespace Eigen { + +/** \defgroup TaucsSupport_Module Taucs support module + * + * \nonstableyet + * + * + * \code + * #include <Eigen/TaucsSupport> + * \endcode + */ + +#ifdef EIGEN_TAUCS_SUPPORT +# include "src/SparseExtra/TaucsSupport.h" +#endif + +} // namespace Eigen + +#include "src/Core/util/EnableMSVCWarnings.h" + +#endif // EIGEN_TAUCSSUPPORT_MODULE_H |