diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-01-03 11:25:41 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-01-03 11:25:41 +0100 |
commit | 870256217719e5d5a55ce0791ee4c8ff6f4592c4 (patch) | |
tree | 27fe4ba0f033f6b43c5ca5d31d0a3e29ad78f28d /Eigen/src/SparseCore | |
parent | 575c078759e718f9afc8353c5222dafc72d053b0 (diff) |
bug #1370: add doc for StorageIndex
Diffstat (limited to 'Eigen/src/SparseCore')
-rw-r--r-- | Eigen/src/SparseCore/SparseMatrixBase.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/src/SparseCore/SparseMatrixBase.h b/Eigen/src/SparseCore/SparseMatrixBase.h index 0da4c2a36..c6b548f11 100644 --- a/Eigen/src/SparseCore/SparseMatrixBase.h +++ b/Eigen/src/SparseCore/SparseMatrixBase.h @@ -37,7 +37,11 @@ template<typename Derived> class SparseMatrixBase typedef typename internal::packet_traits<Scalar>::type PacketScalar; typedef typename internal::traits<Derived>::StorageKind StorageKind; + + /** The integer type used to \b store indices within a SparseMatrix. + * For a \c SparseMatrix<Scalar,Options,IndexType> it an alias of the third template parameter \c IndexType. */ typedef typename internal::traits<Derived>::StorageIndex StorageIndex; + typedef typename internal::add_const_on_value_type_if_arithmetic< typename internal::packet_traits<Scalar>::type >::type PacketReturnType; |