aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/TaucsSupport
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-06-18 11:28:30 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-06-18 11:28:30 +0200
commitece48a645051a9984a78a3197027c9c861a0c702 (patch)
treec52c6400b2a839f62877c168c193fc024ccf68d6 /unsupported/Eigen/TaucsSupport
parent22d07ec2e3324d09c7dff36c9642f0ed74f3e994 (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/TaucsSupport49
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