diff options
Diffstat (limited to 'Eigen/src/Core/util')
-rw-r--r-- | Eigen/src/Core/util/Constants.h | 1 | ||||
-rw-r--r-- | Eigen/src/Core/util/ForwardDeclarations.h | 9 | ||||
-rw-r--r-- | Eigen/src/Core/util/Meta.h | 2 |
3 files changed, 5 insertions, 7 deletions
diff --git a/Eigen/src/Core/util/Constants.h b/Eigen/src/Core/util/Constants.h index c71b12334..97d8c346a 100644 --- a/Eigen/src/Core/util/Constants.h +++ b/Eigen/src/Core/util/Constants.h @@ -38,6 +38,7 @@ const unsigned int VectorizableBit = 0x10; #else const unsigned int VectorizableBit = 0x0; #endif +const unsigned int Like1DArrayBit = 0x20; enum { ConditionalJumpCost = 5 }; enum CornerType { TopLeft, TopRight, BottomLeft, BottomRight }; diff --git a/Eigen/src/Core/util/ForwardDeclarations.h b/Eigen/src/Core/util/ForwardDeclarations.h index 0bdfb4ea1..adbbdeff8 100644 --- a/Eigen/src/Core/util/ForwardDeclarations.h +++ b/Eigen/src/Core/util/ForwardDeclarations.h @@ -40,15 +40,12 @@ template<typename MatrixType> class Minor; template<typename MatrixType, int BlockRows=Dynamic, int BlockCols=Dynamic> class Block; template<typename MatrixType> class Transpose; template<typename MatrixType> class Conjugate; -template<typename BinaryOp, typename Lhs, typename Rhs> class CwiseBinaryOp; -template<typename UnaryOp, typename MatrixType> class CwiseUnaryOp; +template<typename NullaryOp, typename MatrixType> class CwiseNullaryOp; +template<typename UnaryOp, typename MatrixType> class CwiseUnaryOp; +template<typename BinaryOp, typename Lhs, typename Rhs> class CwiseBinaryOp; template<typename Lhs, typename Rhs, int EvalMode=ei_product_eval_mode<Lhs,Rhs>::value> class Product; -template<typename MatrixType> class Random; -template<typename MatrixType> class Zero; -template<typename MatrixType> class Ones; template<typename CoeffsVectorType> class DiagonalMatrix; template<typename MatrixType> class DiagonalCoeffs; -template<typename MatrixType> class Identity; template<typename MatrixType> class Map; template<typename Derived> class Eval; template<int Direction, typename UnaryOp, typename MatrixType> class PartialRedux; diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index ce0c4a21b..3c8f9ad9a 100644 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -158,7 +158,7 @@ class ei_corrected_matrix_flags ? Cols%ei_packet_traits<Scalar>::size==0 : Rows%ei_packet_traits<Scalar>::size==0 ), - _flags1 = SuggestedFlags & ~(EvalBeforeNestingBit | EvalBeforeAssigningBit) + _flags1 = (SuggestedFlags & ~(EvalBeforeNestingBit | EvalBeforeAssigningBit)) | Like1DArrayBit }; public: |