diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-01-26 16:33:23 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-01-26 16:33:23 +0100 |
commit | 15ef62ca43c2e08c1e2fefb751b994441e019376 (patch) | |
tree | 85b8e86cedb33e44f259275a814ec983d802b855 /Eigen/src/Core/MatrixBase.h | |
parent | 84448b058c1611a0eae45212007d02a0c5457f5c (diff) |
extend PermutationMatrix and Transpositions to support arbitrary interger types and to support the Map/Wrapper model via base and derived classes
Diffstat (limited to 'Eigen/src/Core/MatrixBase.h')
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index 0a444bd02..40e44c9b3 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -277,6 +277,7 @@ template<typename Derived> class MatrixBase static const BasisReturnType UnitW(); const DiagonalWrapper<const Derived> asDiagonal() const; + const PermutationWrapper<const Derived> asPermutation() const; Derived& setIdentity(); Derived& setIdentity(Index rows, Index cols); |