diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-10-28 12:18:00 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-10-28 12:18:00 +0000 |
commit | 48137e28d8abe8464ffbc422333e26b91cd8e3b0 (patch) | |
tree | ec9b9b1c7c2da8d5a7042c0835f8c99b9b668598 /Eigen | |
parent | 3e502abfdac8e9ca3afdcd66522f94cbfc192608 (diff) |
add the possibility to extend Matrix outside Eigen, just like MatrixBase
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/Matrix.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index 4e24e84e2..5b95a0a5e 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -428,6 +428,11 @@ class Matrix explicit Matrix(const RotationBase<OtherDerived,ColsAtCompileTime>& r); template<typename OtherDerived> Matrix& operator=(const RotationBase<OtherDerived,ColsAtCompileTime>& r); + + // allow to extend Matrix outside Eigen + #ifdef EIGEN_MATRIX_PLUGIN + #include EIGEN_MATRIX_PLUGIN + #endif }; /** \defgroup matrixtypedefs Global matrix typedefs |