aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2011-03-11 11:15:44 +0000
committerGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2011-03-11 11:15:44 +0000
commit27f34269d573d3beae67373db490d24f4dfad8d1 (patch)
treedbc367d3bfdb54545ac84c8b5450049b3ba89667 /Eigen
parente7d237668812c265671ee11a8ea5c5f9934eac80 (diff)
Document EIGEN_DEFAULT_DENSE_INDEX_TYPE.
Also, expand description of EIGEN_DONT_ALIGN.
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Core/DenseBase.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Eigen/src/Core/DenseBase.h b/Eigen/src/Core/DenseBase.h
index 496218ded..838fa4030 100644
--- a/Eigen/src/Core/DenseBase.h
+++ b/Eigen/src/Core/DenseBase.h
@@ -56,7 +56,13 @@ template<typename Derived> class DenseBase
class InnerIterator;
typedef typename internal::traits<Derived>::StorageKind StorageKind;
- typedef typename internal::traits<Derived>::Index Index; /**< The type of indices */
+
+ /** \brief The type of indices
+ * \details To change this, \c \#define the preprocessor symbol \c EIGEN_DEFAULT_DENSE_INDEX_TYPE.
+ * \sa \ref TopicPreprocessorDirectives.
+ */
+ typedef typename internal::traits<Derived>::Index Index;
+
typedef typename internal::traits<Derived>::Scalar Scalar;
typedef typename internal::packet_traits<Scalar>::type PacketScalar;
typedef typename NumTraits<Scalar>::Real RealScalar;